mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Fixing the build after travis upgraded Ubuntu (#7931)
* Fixing the build after travis upgraded Ubuntu It seems Travis has been updated/ing its build environment to Ubuntu 16.04 from Ubuntu 14 in the past few days. This broke a bunch of things on our side. * postgres -> postgresql * Fix java * Try openjdk8 * Fix, license check oracle and python * Fix, license check oracle and python v2 * Fix, license check oracle and python v3 * Fix, license check oracle and python v4 * dummy commit, just to trigger the build
This commit is contained in:
committed by
GitHub
parent
df9efa8ed9
commit
f1d566a90c
33
.travis.yml
33
.travis.yml
@@ -16,6 +16,18 @@
|
||||
#
|
||||
jobs:
|
||||
include:
|
||||
- language: python
|
||||
python: 3.6
|
||||
env:
|
||||
- TOXENV=license-check
|
||||
- TRAVIS_CACHE=$HOME/.travis_cache/
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- openjdk-8-jdk
|
||||
install:
|
||||
- sudo pip install --upgrade pip
|
||||
- sudo pip install codecov tox
|
||||
- language: python
|
||||
python: 3.6
|
||||
env: TOXENV=cypress-dashboard
|
||||
@@ -66,7 +78,7 @@ jobs:
|
||||
python: 3.6
|
||||
env: TOXENV=py36-postgres
|
||||
services:
|
||||
- postgres
|
||||
- postgresql
|
||||
- redis-server
|
||||
before_script:
|
||||
- psql -U postgres -c "CREATE DATABASE superset;"
|
||||
@@ -74,19 +86,7 @@ jobs:
|
||||
- language: python
|
||||
python: 3.6
|
||||
env: TOXENV=pylint
|
||||
- language: python
|
||||
python: 3.6
|
||||
env:
|
||||
- TOXENV=license-check
|
||||
- TRAVIS_CACHE=$HOME/.travis_cache/
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
before_install:
|
||||
- jdk_switcher use oraclejdk8
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install codecov tox
|
||||
script:
|
||||
- tox
|
||||
after_success:
|
||||
@@ -98,3 +98,10 @@ cache:
|
||||
- ~/.cache
|
||||
- ~/.travis_cache/
|
||||
- superset/assets/.terser-plugin-cache/
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libgconf-2-4
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install codecov tox
|
||||
|
||||
Reference in New Issue
Block a user