forked from spesmilo/electrumx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (50 loc) · 1.47 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
sudo: required
dist: bionic
language: python
before_install:
- sudo apt-get -qq update
- sudo apt-get install -yq libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev librocksdb-dev libleveldb-dev libboost-all-dev libsodium-dev
python:
- "3.7"
- "3.8"
- "3.9-dev"
# command to install dependencies
install:
- pip install aiohttp
- pip install aiorpcX
- pip install ecdsa
- pip install plyvel
- pip install pycodestyle
- pip install pylru
- pip install python-rocksdb
- pip install pytest-asyncio
- pip install pytest-cov
- pip install Sphinx
# hashes
- pip install tribushashm
- pip install blake256
- pip install x11_hash
- pip install git+https://github.com/bitcoinplusorg/x13-hash
- pip install xevan_hash
- pip install quark_hash
- pip install groestlcoin_hash
- pip install x16r_hash
- pip install pycryptodomex
- pip install git+https://github.com/Electra-project/nist5_hash
- pip install git+https://github.com/RitoProject/x21s_hash
- pip install x16rv2_hash
- pip install git+https://github.com/VerusCoin/verushashpy
- pip install bell-yespower
- pip install cpupower
- pip install kawpow
# command to run tests
script:
- pytest --cov=electrumx
- pycodestyle --max-line-length=100 electrumx/server/*.py electrumx/lib/*.py *.py
- sh -c "cd docs && make html"
# Dont report coverage from nightly
after_success:
- if [[ $(python3 -V 2>&1) == *"Python 3.7"* ]]; then
pip install coveralls;
coveralls;
fi