This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new f1d566a Fixing the build after travis upgraded Ubuntu (#7931)
f1d566a is described below
commit f1d566a90c3388ca78abd5103ffb9f4a89283144
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Sat Jul 27 08:33:03 2019 -0700
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
---
.travis.yml | 33 ++++++++++++++++++++-------------
tox.ini | 2 ++
2 files changed, 22 insertions(+), 13 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index d98ba97..3ff2edb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,6 +18,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
services:
- redis-server
@@ -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
diff --git a/tox.ini b/tox.ini
index 3625ed6..e79e1bb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -121,6 +121,7 @@ commands =
passenv = *
whitelist_externals =
{toxinidir}/scripts/check_license.sh
+deps =
[testenv:py36-mysql]
deps =
@@ -153,3 +154,4 @@ envlist =
pylint
license-check
skipsdist = true
+