.travis.yml: run tests with coverage for all pythons, not just 3.5

Running coverage.py on pypy takes twice as long, not worth it.
This commit is contained in:
Cosimo Lupo 2016-12-26 13:55:44 +00:00
parent 524a365b4e
commit c65a6548bd
No known key found for this signature in database
GPG Key ID: B61AAAD0B53A6419

View File

@ -5,26 +5,24 @@ language: python
matrix: matrix:
include: include:
- python: 2.7 - python: 2.7
env: TOXENV=py27 env: TOXENV=py27-cov
- python: 3.4 - python: 3.4
env: TOXENV=py34 env: TOXENV=py34-cov
- python: 3.5 - python: 3.5
env: env:
- TOXENV=py35 - TOXENV=py35-cov
- BUILD_DIST=true - BUILD_DIST=true
- python: 3.6 - python: 3.6
env: TOXENV=py36 env: TOXENV=py36-cov
- python: pypy - python: pypy
env: TOXENV=pypy # disable coverage.py on pypy because of performance problems
env: TOXENV=pypy-nocov
- language: generic - language: generic
os: osx os: osx
env: TOXENV=py27 env: TOXENV=py27-cov
- language: generic - language: generic
os: osx os: osx
env: TOXENV=py35 env: TOXENV=py35-cov
# coveralls is not listed in tox's envlist, but should run in travis
- python: 3.5
env: TOXENV=coveralls
install: install:
- ./.travis/install.sh - ./.travis/install.sh
@ -32,6 +30,9 @@ install:
script: script:
- ./.travis/run.sh - ./.travis/run.sh
after_success:
- ./.travis/after_success.sh
before_deploy: before_deploy:
- ./.travis/before_deploy.sh - ./.travis/before_deploy.sh