diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..de497953 --- /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 a7f65789..f1568098 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# py-libp2p +# py-libp2p [](https://travis-ci.com/zixuanzh/py-libp2p) [](https://codecov.io/gh/zixuanzh/py-libp2p) + +
diff --git a/__init__.py b/conftest.py
similarity index 100%
rename from __init__.py
rename to conftest.py