summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2019-01-13 12:09:01 -0800
committerDana Powers <dana.powers@gmail.com>2019-03-12 19:33:38 -0700
commit9a7844023123e6832e50bf05bb104b88454a6d72 (patch)
tree988c0f49423320af76cf5b48191be0ac8b496c47
parent59a9e6271fe6eec9ac740fd1e9ac1b205bfb8f34 (diff)
downloadkafka-python-9a7844023123e6832e50bf05bb104b88454a6d72.tar.gz
setting jdk on non-java project does not work... also drop sudo and improve tox variable handling
-rw-r--r--.travis.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 8f7a128..1450ac3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,11 +1,7 @@
-dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069)
-sudo: required # required for Python >= 3.7 (travis-ci/travis-ci#9069)
+dist: xenial
language: python
-jdk:
- - openjdk8
-
python:
- 2.7
- 3.4
@@ -23,6 +19,7 @@ addons:
apt:
packages:
- libsnappy-dev
+ - oracle-java8-set-default
cache:
directories:
@@ -37,7 +34,7 @@ install:
- pip install .
script:
- - tox -e `if [ "$TRAVIS_PYTHON_VERSION" == "pypy" ]; then echo pypy; else echo py${TRAVIS_PYTHON_VERSION/./}; fi`
+ - tox -e py${TRAVIS_PYTHON_VERSION#py}
after_success:
- coveralls