43 lines
902 B
YAML
43 lines
902 B
YAML
sudo: false # use Travis's container-based infrastructure
|
|
language: python
|
|
|
|
python: "3.5"
|
|
env:
|
|
- TOXENV=py26-without_coverage
|
|
- TOXENV=py27-without_coverage
|
|
- TOXENV=py32-without_coverage
|
|
- TOXENV=py33-without_coverage
|
|
- TOXENV=py34-without_coverage
|
|
- TOXENV=py35-without_coverage
|
|
- TOXENV=py26-with_coverage
|
|
- TOXENV=py27-with_coverage
|
|
- TOXENV=py32-with_coverage
|
|
- TOXENV=py33-with_coverage
|
|
- TOXENV=py34-with_coverage
|
|
- TOXENV=py35-with_coverage
|
|
|
|
matrix:
|
|
include:
|
|
- python: "3.6"
|
|
env:
|
|
- TOXENV=py36-without_coverage
|
|
- python: "3.6"
|
|
env:
|
|
- TOXENV=py36-with_coverage
|
|
|
|
install:
|
|
- pip install coveralls
|
|
# virtualenv < 14 is required to keep the Python 3.2 builds running
|
|
- pip install "virtualenv<14"
|
|
- pip install "tox<3"
|
|
|
|
script:
|
|
- tox -vv
|
|
|
|
after_success:
|
|
case "$TOXENV" in
|
|
*with_coverage*)
|
|
coveralls
|
|
;;
|
|
esac
|