cleanup tests that use regtest:
- separate setup from execution - install bitcoind and electrumx in travis - use the same framework for lnwatcher and forwarding - make tests runnable locally
This commit is contained in:
@@ -12,13 +12,20 @@ addons:
|
||||
packages:
|
||||
- libsecp256k1-0
|
||||
before_install:
|
||||
- sudo add-apt-repository -y ppa:bitcoin/bitcoin
|
||||
- sudo apt-get -qq update
|
||||
- sudo apt-get install -yq bitcoind
|
||||
- git tag
|
||||
install:
|
||||
- pip install -r contrib/requirements/requirements-travis.txt
|
||||
- pip install electrumx
|
||||
cache:
|
||||
- pip: true
|
||||
- directories:
|
||||
- /tmp/electrum-build
|
||||
before_script:
|
||||
- electrum/tests/regtest/start_bitcoind.sh
|
||||
- electrum/tests/regtest/start_electrumx.sh
|
||||
script:
|
||||
- tox
|
||||
after_success:
|
||||
|
||||
Reference in New Issue
Block a user