diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..de49795 --- /dev/null +++ b/.travis.yml @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index a7f6578..f156809 100644 --- a/README.md +++ b/README.md @@ -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) + +