Skip to content

Commit

Permalink
BLD: Update Travis configuration for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
quantophred committed Dec 11, 2018
1 parent 029541a commit 109e3a2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ python:
- "3.4"
- "3.5"
- "3.6"
- "3.7-dev"

# Python 3.7 requires OpenSSL 1.0.2+, which is only available on Travis
# via xenial and sudo. Require them for only the build that needs them.
matrix:
include:
- python: "3.7"
dist: xenial
sudo: true

before_script:
- pip install tox
Expand All @@ -15,4 +22,4 @@ script:
- if [[ $TRAVIS_PYTHON_VERSION = '3.4' ]]; then tox -e py34; fi
- if [[ $TRAVIS_PYTHON_VERSION = '3.5' ]]; then tox -e py35; fi
- if [[ $TRAVIS_PYTHON_VERSION = '3.6' ]]; then tox -e py36; fi
- if [[ $TRAVIS_PYTHON_VERSION = '3.7-dev' ]]; then tox -e py37; fi
- if [[ $TRAVIS_PYTHON_VERSION = '3.7' ]]; then tox -e py37; fi

0 comments on commit 109e3a2

Please sign in to comment.