1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
dist: bionic
language: python
python:
- "3.6"
- "3.7"
- "3.8"
- "3.8-dev" # 3.8 development branch
- "3.9-dev" # nightly
install:
- "pip install -r requirements.txt"
- >
if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]
then
pip install coveralls pytest-cov
fi
-script:
- >
if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]
then
pytest --cov=fades
else
pytest
fi
# report coverage to coveralls.io
after_success:
- >
if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]
then
coveralls
fi
cache:
apt: true
pip: true
|