2020-05-05 13:44:57 +02:00
|
|
|
language: python
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
cache: pip
|
2020-07-20 12:08:33 +02:00
|
|
|
python:
|
|
|
|
- 2.7
|
|
|
|
- 3.6
|
|
|
|
- 3.8
|
|
|
|
before_install:
|
|
|
|
- python --version
|
|
|
|
- pip install -U pip
|
|
|
|
- pip install -U pytest
|
2020-07-20 19:50:43 +02:00
|
|
|
- pip install codecov
|
2020-07-20 19:40:06 +02:00
|
|
|
- pip install pytest pytest-cov
|
2020-05-05 13:44:57 +02:00
|
|
|
script:
|
2020-07-20 19:41:56 +02:00
|
|
|
- cd tests
|
2020-07-20 19:40:06 +02:00
|
|
|
- pytest --cov=./
|
2020-07-20 11:54:26 +02:00
|
|
|
after_success:
|
2020-07-20 20:14:23 +02:00
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION == 3.8 ]]; then python -m codecov; fi
|