enable CI
This commit is contained in:
parent
161f4d1001
commit
e7029a1b00
15
.travis.yml
Normal file
15
.travis.yml
Normal 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
|
|
@ -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" />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user