mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
Travis: run regtests in separate job
This commit is contained in:
parent
fcfbc937bc
commit
58177c5bf3
2 changed files with 14 additions and 7 deletions
21
.travis.yml
21
.travis.yml
|
@ -12,20 +12,13 @@ addons:
|
||||||
packages:
|
packages:
|
||||||
- libsecp256k1-0
|
- libsecp256k1-0
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository -y ppa:bitcoin/bitcoin
|
|
||||||
- sudo apt-get -qq update
|
|
||||||
- sudo apt-get install -yq bitcoind
|
|
||||||
- git tag
|
- git tag
|
||||||
install:
|
install:
|
||||||
- pip install -r contrib/requirements/requirements-travis.txt
|
- pip install -r contrib/requirements/requirements-travis.txt
|
||||||
- pip install electrumx
|
|
||||||
cache:
|
cache:
|
||||||
- pip: true
|
- pip: true
|
||||||
- directories:
|
- directories:
|
||||||
- /tmp/electrum-build
|
- /tmp/electrum-build
|
||||||
before_script:
|
|
||||||
- electrum/tests/regtest/start_bitcoind.sh
|
|
||||||
- electrum/tests/regtest/start_electrumx.sh
|
|
||||||
script:
|
script:
|
||||||
- tox
|
- tox
|
||||||
after_success:
|
after_success:
|
||||||
|
@ -33,6 +26,20 @@ after_success:
|
||||||
- coveralls
|
- coveralls
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
- name: "Regtest"
|
||||||
|
before_install:
|
||||||
|
- sudo add-apt-repository -y ppa:bitcoin/bitcoin
|
||||||
|
- sudo apt-get -qq update
|
||||||
|
- sudo apt-get install -yq bitcoind
|
||||||
|
install:
|
||||||
|
- pip install -r contrib/requirements/requirements.txt
|
||||||
|
- pip install electrumx
|
||||||
|
before_script:
|
||||||
|
- electrum/tests/regtest/start_bitcoind.sh
|
||||||
|
- electrum/tests/regtest/start_electrumx.sh
|
||||||
|
script:
|
||||||
|
- python -m unittest electrum/tests/regtest.py
|
||||||
|
after_success: True
|
||||||
- if: branch = master # don't build binaries on lightning branch
|
- if: branch = master # don't build binaries on lightning branch
|
||||||
stage: binary builds
|
stage: binary builds
|
||||||
name: "Windows build"
|
name: "Windows build"
|
||||||
|
|
Loading…
Add table
Reference in a new issue