Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
language: python

sudo: required
dist: trusty
dist: xenial

python:
- 3.7
- 3.6
- 3.5
- 3.4
- 2.7

after_success:
Expand All @@ -28,9 +26,9 @@ env:
install:
- travis_retry pip install -r requirements-test.txt
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export PYVER=py27; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PYVER=py35; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then export PYVER=py36; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then export PYVER=py37; fi"
- "if [[ ${TESTS}z != 'z' ]]; then export TOXENV=$PYVER; fi"

# command to run tests, e.g. python setup.py test
Expand All @@ -44,18 +42,18 @@ matrix:
env: TOXENV='isort'
- python: 2.7
env: TOXENV='docs'
- python: 3.4
env: TOXENV='pep8'
- python: 3.4
env: TOXENV='isort'
- python: 3.4
env: TOXENV='docs'
- python: 3.5
env: TOXENV='pep8'
- python: 3.5
env: TOXENV='isort'
- python: 3.5
env: TOXENV='docs'
- python: 3.6
env: TOXENV='pep8'
- python: 3.6
env: TOXENV='isort'
- python: 3.6
env: TOXENV='docs'

jobs:
include:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = pep8,isort,docs,py{36,35,34,27}
envlist = pep8,isort,docs,py{37,36,35,27}
skip_missing_interpreters=True

[testenv]
Expand Down