Update .travis.yml
This commit is contained in:
parent
bae3412bee
commit
c458a15820
23
.travis.yml
23
.travis.yml
@ -1,18 +1,17 @@
|
|||||||
language: python
|
language: python
|
||||||
python:
|
|
||||||
- "2.7"
|
|
||||||
- "3.6"
|
|
||||||
- "3.8"
|
|
||||||
os: linux
|
os: linux
|
||||||
dist: xenial
|
dist: xenial
|
||||||
cache: pip
|
cache: pip
|
||||||
install:
|
python:
|
||||||
- pip install pytest
|
- 2.7
|
||||||
- pip install coverage
|
- 3.6
|
||||||
before_script:
|
- 3.8
|
||||||
cd tests
|
before_install:
|
||||||
|
- python --version
|
||||||
|
- pip install -U pip
|
||||||
|
- pip install -U pytest
|
||||||
|
- pip install codecov
|
||||||
script:
|
script:
|
||||||
- pytest test_1.py
|
- python -m pytest
|
||||||
- coverage run -m pytest --cov=./
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- python -m codecov
|
||||||
|
Loading…
Reference in New Issue
Block a user