forked from kyuupichan/electrumx
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
30 lines (30 loc) · 1001 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 librocksdb libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev
- wget https://launchpad.net/ubuntu/+archive/primary/+files/leveldb_1.20.orig.tar.gz
- tar -xzvf leveldb_1.20.orig.tar.gz
- pushd leveldb-1.20 && make && sudo mv out-shared/libleveldb.* /usr/local/lib && sudo cp -R include/leveldb /usr/local/include && sudo ldconfig && popd
python:
- "3.6"
- "nightly"
# command to install dependencies
install:
- pip install aiohttp
- pip install ecdsa
- pip install plyvel
- pip install pyrocksdb
- pip install tribus-hash
- pip install pytest-cov
- pip install pylru
# command to run tests
script: pytest --cov=server --cov=lib --cov=wallet
# Dont report coverage from nightly
after_success:
- if [[ $(python3 -V 2>&1) == *"Python 3.6"* ]]; then
pip install python-coveralls;
coveralls;
fi