diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2019-03-12 22:01:11 -0700 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2019-03-12 22:01:11 -0700 |
commit | c0add71e8d656691c0dd2dcb1936953f4483285b (patch) | |
tree | 991c3c6debc99d5cb28f6b694dd57a002f8f02d5 /.travis.yml | |
parent | 994d2838fdc77cc8b0840db0679cdbb0a0fb487b (diff) | |
download | kafka-python-c0add71e8d656691c0dd2dcb1936953f4483285b.tar.gz |
Update travis test coverage: 2.7, 3.4, 3.7, pypy2.7 (#1614)
* Use xenial dist for travis builds
* Use openjdk8 for all travis tests
* Update python build matrix -- add 3.7, drop 3.5/3.6 (keep 2.7, 3.4, pypy2.7)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index fd6018b..cdb9339 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,12 @@ language: python +dist: xenial + python: - 2.7 - 3.4 - - 3.5 - - 3.6 - - pypy + - 3.7 + - pypy2.7-6.0 env: - KAFKA_VERSION=0.8.2.2 @@ -18,6 +19,7 @@ addons: apt: packages: - libsnappy-dev + - openjdk-8-jdk cache: directories: @@ -25,6 +27,7 @@ cache: - servers/ before_install: + - source travis_java_install.sh - ./build_integration.sh install: @@ -32,7 +35,7 @@ install: - pip install . script: - - tox -e `if [ "$TRAVIS_PYTHON_VERSION" == "pypy" ]; then echo pypy; else echo py${TRAVIS_PYTHON_VERSION/./}; fi` + - tox -e `if [ "$TRAVIS_PYTHON_VERSION" == "pypy2.7-6.0" ]; then echo pypy; else echo py${TRAVIS_PYTHON_VERSION/./}; fi` after_success: - coveralls |