tTravis: run regtests in separate job - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 58177c5bf3a0182630f21c4b88135112a1e3525e
DIR parent fcfbc937bc72b1edc0c42cb61a5aa929fb639f43
HTML Author: ThomasV <thomasv@electrum.org>
Date: Mon, 26 Aug 2019 12:48:16 +0200
Travis: run regtests in separate job
Diffstat:
M .travis.yml | 21 ++++++++++++++-------
R electrum/tests/test_regtest.py -> … | 0
2 files changed, 14 insertions(+), 7 deletions(-)
---
DIR diff --git a/.travis.yml b/.travis.yml
t@@ -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:
t@@ -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"
DIR diff --git a/electrum/tests/test_regtest.py b/electrum/tests/regtest.py