diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-06 16:02:15 -0800 |
|---|---|---|
| committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-06 16:02:15 -0800 |
| commit | fcdd14dacc813c2dc2034f4aff651af4ea8df80a (patch) | |
| tree | e2fba4c9a95cd99fafcd93b1b44f7d2a6a8f5a0b | |
| parent | fdd40a58db6e6d6b6b929f52eab91c49be411a98 (diff) | |
| download | redis-py-fcdd14dacc813c2dc2034f4aff651af4ea8df80a.tar.gz | |
Use 'dist: xenial' in Travis to simplify configuration
Allows using Python version 3.7 without sudo declarations.
Travis officially added support for Xenial on 2018-11-08.
https://blog.travis-ci.com/2018-11-08-xenial-release
Add Python 3.7 to tox.ini and setup.py as well.
| -rw-r--r-- | .travis.yml | 15 | ||||
| -rw-r--r-- | setup.py | 1 | ||||
| -rw-r--r-- | tox.ini | 2 |
3 files changed, 6 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml index 10070e5..4d6add4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,9 @@ +dist: xenial +sudo: false language: python cache: pip python: + - 3.7 - 3.6 - 3.5 - 3.4 @@ -20,15 +23,5 @@ matrix: include: - python: 2.7 env: TEST_PYCODESTYLE=1 - - python: 3.6 - env: TEST_PYCODESTYLE=1 - # python 3.7 has to be specified manually in the matrix - # https://github.com/travis-ci/travis-ci/issues/9815 - - python: 3.7 - dist: xenial - sudo: true - env: TEST_HIREDIS=0 - python: 3.7 - dist: xenial - sudo: true - env: TEST_HIREDIS=1 + env: TEST_PYCODESTYLE=1 @@ -69,5 +69,6 @@ setup( 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', ] ) @@ -1,6 +1,6 @@ [tox] minversion = 1.8 -envlist = {py27,py34,py35,py36}-{plain,hiredis}, pycodestyle +envlist = {py27,py34,py35,py36,py37}-{plain,hiredis}, pycodestyle [testenv] deps = |
