Skip to content

Commit

Permalink
Travis: move to Unbutu xenial for all Pythons
Browse files Browse the repository at this point in the history
Except pypy/pypy3 - keep those on trusty due to https://travis-ci.community/t/pypy-2-7-on-xenial/889 .
  • Loading branch information
florisla committed Jan 3, 2019
1 parent 86ac0cc commit 114d725
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .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"
Expand All @@ -26,4 +33,3 @@ install:
- pip install tox-travis

script: tox

0 comments on commit 114d725

Please sign in to comment.