59 lines
1.1 KiB
YAML
59 lines
1.1 KiB
YAML
sudo: false # use Travis's container-based infrastructure
|
|
language: python
|
|
|
|
python: "3.6"
|
|
|
|
matrix:
|
|
include:
|
|
- python: "2.7"
|
|
env:
|
|
- TOXENV=py27-without_coverage
|
|
- python: "2.7"
|
|
env:
|
|
- TOXENV=py27-with_coverage
|
|
- python: "3.4"
|
|
env:
|
|
- TOXENV=py34-without_coverage
|
|
- python: "3.4"
|
|
env:
|
|
- TOXENV=py34-with_coverage
|
|
- python: "3.5"
|
|
env:
|
|
- TOXENV=py35-without_coverage
|
|
- python: "3.5"
|
|
env:
|
|
- TOXENV=py35-with_coverage
|
|
- python: "3.6"
|
|
env:
|
|
- TOXENV=py36-without_coverage
|
|
- python: "3.6"
|
|
env:
|
|
- TOXENV=py36-with_coverage
|
|
- python: "3.7"
|
|
env:
|
|
- TOXENV=py37-without_coverage
|
|
- python: "3.7"
|
|
env:
|
|
- TOXENV=py37-with_coverage
|
|
- python: "3.8"
|
|
env:
|
|
- TOXENV=py38-without_coverage
|
|
- python: "3.8"
|
|
env:
|
|
- TOXENV=py38-with_coverage
|
|
|
|
install:
|
|
- pip install coveralls
|
|
- pip install virtualenv
|
|
- pip install "tox<3"
|
|
|
|
script:
|
|
- tox -vv
|
|
|
|
after_success:
|
|
case "$TOXENV" in
|
|
*with_coverage*)
|
|
coveralls
|
|
;;
|
|
esac
|