Browse Source

Travis: run regtests in separate job

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 5 years ago
parent
commit
58177c5bf3
  1. 21
      .travis.yml
  2. 0
      electrum/tests/regtest.py

21
.travis.yml

@ -12,20 +12,13 @@ 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:
@ -33,6 +26,20 @@ after_success:
- coveralls
jobs:
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
stage: binary builds
name: "Windows build"

0
electrum/tests/test_regtest.py → electrum/tests/regtest.py

Loading…
Cancel
Save