From 3a35951b464205a356679574a8af70228522ecc2 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sat, 28 Jul 2018 23:43:17 -0400 Subject: [PATCH] travis yaml w/ anchors --- .travis.yml | 14 +++++++------- tox.ini | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 20f62692e..2bfb24ae4 100644 --- a/.travis.yml +++ b/.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 diff --git a/tox.ini b/tox.ini index 7037984db..1eb951d74 100644 --- a/tox.ini +++ b/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 =