From 74922a2e3d7775a3530c091042d7703c7d87eeeb Mon Sep 17 00:00:00 2001 From: Johann Bauer Date: Sun, 6 Nov 2016 18:24:08 +0100 Subject: [PATCH] Travis-CI --- .travis.yml | 19 +++++++++++++++++++ README.rst | 3 +++ 2 files changed, 22 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4729f1d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +sudo: required +dist: trusty +language: python +before_install: + - sudo add-apt-repository -y ppa:giskou/librocksdb + - sudo apt-get -qq update + - sudo apt-get install -yq libleveldb-dev librocksdb libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev +python: + - "3.5" + - "3.6-dev" + - "nightly" +# command to install dependencies +install: + - pip install aiohttp + - pip install lmdb + - pip install plyvel + - pip install pyrocksdb +# command to run tests +script: pytest \ No newline at end of file diff --git a/README.rst b/README.rst index 253b23a..9ced9fa 100644 --- a/README.rst +++ b/README.rst @@ -1,3 +1,6 @@ +.. image:: https://travis-ci.org/kyuupichan/electrumx.svg?branch=master + :target: https://travis-ci.org/kyuupichan/electrumx + ElectrumX - Reimplementation of Electrum-server =============================================== ::