From e7029a1b00b592a44a146a3558ba878265b607b0 Mon Sep 17 00:00:00 2001 From: Christophe de Carvalho Pereira Martins Date: Tue, 20 Nov 2018 21:13:51 +0100 Subject: [PATCH] enable CI --- .travis.yml | 15 +++++++++++++++ README.md | 4 +++- __init__.py => conftest.py | 0 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .travis.yml rename __init__.py => conftest.py (100%) 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) + +

py-libp2p hex logo diff --git a/__init__.py b/conftest.py similarity index 100% rename from __init__.py rename to conftest.py