Skip to content

Commit

Permalink
Clean up Travis config (#152)
Browse files Browse the repository at this point in the history
* One Python 3.7 test is enough.
* The docs and lint tests do not produce coverage.
  • Loading branch information
Michael Howitz committed Feb 9, 2019
1 parent 1a51621 commit afb8694
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Expand Up @@ -4,8 +4,12 @@ matrix:
include:
- python: "2.7"
env: TOXENV=docs,lint
before_install:
after_success:
- python: "3.6"
env: TOXENV=docs,lint
before_install:
after_success:
- python: "2.7"
env: TOXENV=py27,py27-datetime
- python: "3.5"
Expand All @@ -15,16 +19,14 @@ matrix:
- python: "3.7"
env: TOXENV=py37,py37-datetime
dist: xenial
- python: "3.7-dev"
env: TOXENV=py37,py37-datetime
dist: xenial
- python: "3.8-dev"
env: TOXENV=py38,py38-datetime
dist: xenial

before_install:
- travis_retry pip install -U -c constraints.txt coveralls coverage
install:
- travis_retry pip install -U pip setuptools
- travis_retry pip install -U -c constraints.txt tox coveralls coverage
- travis_retry pip install -U -c constraints.txt tox

script:
- travis_retry tox
Expand Down

0 comments on commit afb8694

Please sign in to comment.