diff options
author | Dana Powers <dana.powers@gmail.com> | 2019-01-13 10:34:37 -0800 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2019-03-12 19:33:38 -0700 |
commit | 672941dbeb508be5bd02c3e168acd04f166d66f0 (patch) | |
tree | 40b861ed3222a02da8bafcc166d3e4fec1368901 | |
parent | a84cdcb1442b99cc9f20ed9ba5f16ac9a52dde88 (diff) | |
download | kafka-python-672941dbeb508be5bd02c3e168acd04f166d66f0.tar.gz |
Use xenial dist for travis builds
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml index 917de1b..6163710 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ +dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069) +sudo: required # required for Python >= 3.7 (travis-ci/travis-ci#9069) + language: python python: @@ -5,21 +8,9 @@ python: - 3.4 - 3.5 - 3.6 - # - 3.7 # TODO uncomment once Travis supports 3.7 w/o the `matrix` workaround used below + - 3.7 - pypy -# TODO: workaround pulled from: -# https://github.com/travis-ci/travis-ci/issues/9815#issue-336465122 -# It only runs a single 3.7 test job against one version of Kafka but -# that's good enough for now since we test all the other permutations, -# especially since this workaround should be removed in the near future. -# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs -matrix: - include: - - python: 3.7 - dist: xenial - sudo: true - env: - KAFKA_VERSION=0.8.2.2 - KAFKA_VERSION=0.9.0.1 |