enable CI

This commit is contained in:
Christophe de Carvalho Pereira Martins 2018-11-20 21:13:51 +01:00
parent 161f4d1001
commit e7029a1b00
No known key found for this signature in database
GPG Key ID: EFEE139F5CCB06C2
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" />