2020-05-05 13:44:57 +02:00
|
|
|
language: python
|
|
|
|
python:
|
2020-05-05 13:51:36 +02:00
|
|
|
- "2.7"
|
2020-05-05 13:44:57 +02:00
|
|
|
- "3.6"
|
2020-05-05 13:57:58 +02:00
|
|
|
- "3.8"
|
2020-05-05 13:44:57 +02:00
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
cache: pip
|
|
|
|
install:
|
|
|
|
- pip install pytest
|
2020-07-20 11:54:26 +02:00
|
|
|
- pip install coverage
|
2020-05-05 13:49:24 +02:00
|
|
|
before_script:
|
|
|
|
cd tests
|
2020-05-05 13:44:57 +02:00
|
|
|
script:
|
2020-05-05 13:51:36 +02:00
|
|
|
- pytest test_1.py
|
2020-07-20 11:54:26 +02:00
|
|
|
- coverage run -m pytest --cov=./
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|