travis yaml w/ anchors
This commit is contained in:
parent
420ba43d5a
commit
3a35951b46
2 changed files with 8 additions and 8 deletions
14
.travis.yml
14
.travis.yml
|
@ -17,20 +17,20 @@ jobs:
|
||||||
- mypy torba
|
- mypy torba
|
||||||
after_success: skip
|
after_success: skip
|
||||||
|
|
||||||
- &unit-tests
|
- &tests
|
||||||
stage: unit tests
|
stage: tests
|
||||||
|
env: TESTTYPE=unit
|
||||||
install:
|
install:
|
||||||
- pip install tox-travis
|
- pip install tox-travis
|
||||||
script: TESTTYPE=unit tox
|
script: tox
|
||||||
- <<: *unit-tests
|
- <<: *tests
|
||||||
python: "3.6"
|
python: "3.6"
|
||||||
|
- <<: *tests
|
||||||
- stage: integration tests
|
env: TESTTYPE=integration
|
||||||
install:
|
install:
|
||||||
- pip install tox-travis
|
- pip install tox-travis
|
||||||
- pushd .. && git clone https://github.com/lbryio/electrumx.git --branch lbryumx && popd
|
- pushd .. && git clone https://github.com/lbryio/electrumx.git --branch lbryumx && popd
|
||||||
- pushd .. && git clone https://github.com/lbryio/orchstr8.git && popd
|
- pushd .. && git clone https://github.com/lbryio/orchstr8.git && popd
|
||||||
script: TESTTYPE=integration tox
|
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- pip install coverage
|
- pip install coverage
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
#envlist = unit,integration-{torba.coin.bitcoincash,torba.coin.bitcoinsegwit}
|
#envlist = unit,integration-{torba.coin.bitcoincash,torba.coin.bitcoinsegwit}
|
||||||
envlist = py37-unit,py37-integration-torba.coin.bitcoinsegwit
|
envlist = py{37,36}-unit,py37-integration-torba.coin.bitcoinsegwit
|
||||||
|
|
||||||
[travis:env]
|
[travis:env]
|
||||||
TESTTYPE =
|
TESTTYPE =
|
||||||
|
|
Loading…
Reference in a new issue