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
|
||||
after_success: skip
|
||||
|
||||
- &unit-tests
|
||||
stage: unit tests
|
||||
- &tests
|
||||
stage: tests
|
||||
env: TESTTYPE=unit
|
||||
install:
|
||||
- pip install tox-travis
|
||||
script: TESTTYPE=unit tox
|
||||
- <<: *unit-tests
|
||||
script: tox
|
||||
- <<: *tests
|
||||
python: "3.6"
|
||||
|
||||
- stage: integration tests
|
||||
- <<: *tests
|
||||
env: TESTTYPE=integration
|
||||
install:
|
||||
- pip install tox-travis
|
||||
- pushd .. && git clone https://github.com/lbryio/electrumx.git --branch lbryumx && popd
|
||||
- pushd .. && git clone https://github.com/lbryio/orchstr8.git && popd
|
||||
script: TESTTYPE=integration tox
|
||||
|
||||
after_success:
|
||||
- pip install coverage
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,6 +1,6 @@
|
|||
[tox]
|
||||
#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]
|
||||
TESTTYPE =
|
||||
|
|
Loading…
Reference in a new issue