Merge pull request #67 from zaibon/travis-upstream

enable CI
This commit is contained in:
ZX 2018-11-26 13:09:44 -05:00 committed by GitHub
commit 31222a0b4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 1 deletions

15
.travis.yml Normal file
View File

@ -0,0 +1,15 @@
language: python
python:
- "3.6"
install:
- pip install -r requirements.txt
- pip install codecov pytest pytest-cov
script:
- pytest --cov=./ -v
- pylint --rcfile=.pylintrc encryption host kademlia libp2p network peer stream_muxer transport tests
after_success:
- codecov

View File

@ -1,4 +1,6 @@
# py-libp2p # py-libp2p [![Build Status](https://travis-ci.com/zixuanzh/py-libp2p.svg?branch=master)](https://travis-ci.com/zixuanzh/py-libp2p) [![codecov](https://codecov.io/gh/zixuanzh/py-libp2p/branch/master/graph/badge.svg)](https://codecov.io/gh/zixuanzh/py-libp2p)
<h1 align="center"> <h1 align="center">
<img width="250" align="center" src="https://github.com/zixuanzh/py-libp2p/blob/master/assets/py-libp2p-logo.png?raw=true" alt="py-libp2p hex logo" /> <img width="250" align="center" src="https://github.com/zixuanzh/py-libp2p/blob/master/assets/py-libp2p-logo.png?raw=true" alt="py-libp2p hex logo" />