diff --git a/.travis.yml b/.travis.yml index 97e77fa..a7cf803 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,27 @@ -sudo: false language: python +dist: xenial +# require sudo to avoid Travis falling back to trusty; see +# https://github.com/travis-ci/travis-ci/issues/10110 and also +# https://github.com/travis-ci/travis-ci/issues/9069 +sudo: required python: - "2.7" - "3.4" - "3.5" - "3.6" - - "pypy" - - "pypy3" + - "3.7" -# work-around for Python 3.7 which is on a non-standard Travis Ubuntu release (Xenial) +# also test PyPy; do this on Trusty due to +# https://travis-ci.community/t/pypy-2-7-on-xenial/889 matrix: include: - - python: 3.7 - dist: xenial - sudo: true + - python: "pypy" + dist: trusty + sudo: False + - python: "pypy3" + dist: trusty + sudo: False install: - git config --global user.email "bumpversion-test-git@travis.ci" @@ -26,4 +33,3 @@ install: - pip install tox-travis script: tox -