You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

53 lines
1.6 KiB

sudo: required
dist: trusty
language: python
before_install:
- sudo add-apt-repository -y ppa:streetcrypto7/rocksdb
- sudo add-apt-repository -y ppa:streetcrypto7/leveldb
- sudo apt-get -qq update
- sudo apt-get install -yq libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev librocksdb-dev libleveldb-dev
python:
- "3.6"
- "3.6-dev"
- "3.7-dev"
- "nightly"
# 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 tribus-hash
- pip install blake256
- pip install scrypt
- 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 neoscrypt
- 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 git+https://github.com/traysi/x16rv2_hash
- pip install bell-yespower
- pip install cpupower
# 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.6"* ]]; then
pip install python-coveralls;
coveralls;
fi