Skip to content

Commit e126a4e

Browse files
committed
Use xenial dist for travis builds
1 parent 3d7d7c9 commit e126a4e

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.travis.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
1+
dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069)
2+
sudo: required # required for Python >= 3.7 (travis-ci/travis-ci#9069)
3+
14
language: python
25

36
python:
47
- 2.7
58
- 3.4
69
- 3.5
710
- 3.6
8-
# - 3.7 # TODO uncomment once Travis supports 3.7 w/o the `matrix` workaround used below
11+
- 3.7
912
- pypy
1013

11-
# TODO: workaround pulled from:
12-
# https://github.com/travis-ci/travis-ci/issues/9815#issue-336465122
13-
# It only runs a single 3.7 test job against one version of Kafka but
14-
# that's good enough for now since we test all the other permutations,
15-
# especially since this workaround should be removed in the near future.
16-
# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
17-
matrix:
18-
include:
19-
- python: 3.7
20-
dist: xenial
21-
sudo: true
22-
2314
env:
2415
- KAFKA_VERSION=0.8.2.2
2516
- KAFKA_VERSION=0.9.0.1

0 commit comments

Comments
 (0)