Change travis CI config

This commit is contained in:
mhchia
2019-07-24 16:05:33 +08:00
parent 9497c3180f
commit ae4c135ae1

View File

@ -5,19 +5,18 @@ matrix:
- python: 3.7 - python: 3.7
dist: xenial dist: xenial
sudo: true sudo: true
install:
- pip install --upgrade pip
- pip install -r requirements_dev.txt
- python setup.py develop
script:
- pytest --cov=./libp2p tests/
- pylint --rcfile=.pylintrc libp2p tests
after_success: after_success:
- codecov - codecov
- python: 3.7
dist: xenial
sudo: true
env: TOXENV=lint
install:
- pip install --upgrade pip codecov
script:
- tox
notifications: notifications:
slack: py-libp2p:RK0WVoQZhQXLgIKfHNPL1TR2 slack: py-libp2p:RK0WVoQZhQXLgIKfHNPL1TR2