Move codecov to tox.ini

This commit is contained in:
mhchia 2019-07-24 16:41:19 +08:00
parent 1ae306ae8f
commit 529829b9f1
No known key found for this signature in database
GPG Key ID: 389EFBEA1362589A
2 changed files with 4 additions and 3 deletions

View File

@ -6,15 +6,14 @@ matrix:
dist: xenial
sudo: true
env: TOXENV=py37-test
after_success:
- codecov
- python: 3.7
dist: xenial
sudo: true
env: TOXENV=lint
install:
- pip install --upgrade pip codecov tox
- pip install --upgrade pip
- pip install tox
script:
- tox

View File

@ -7,9 +7,11 @@ envlist =
[testenv]
deps =
passenv = CI TRAVIS TRAVIS_*
extras = test
commands =
pytest --cov=./libp2p tests/
codecov
basepython =
py37: python3.7