travis yaml w/ anchors

This commit is contained in:
Lex Berezhny 2018-07-28 23:43:17 -04:00
parent 420ba43d5a
commit 3a35951b46
2 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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 =