From e0e6363aaa48aea49ca34d23ac53d35f8d58a473 Mon Sep 17 00:00:00 2001 From: rienafairefr Date: Tue, 27 Mar 2018 22:19:51 +0200 Subject: [PATCH] separate live_tests in another tox.ini --- live_tox.ini | 11 +++++++++++ test.sh | 2 +- tox.ini | 4 ---- 3 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 live_tox.ini diff --git a/live_tox.ini b/live_tox.ini new file mode 100644 index 0000000..e8e0b21 --- /dev/null +++ b/live_tox.ini @@ -0,0 +1,11 @@ +[tox] +envlist = {py27,py34,py35}-test_live + +[testenv:test_live] +commands= + py.test test_live/ + +[testenv] +passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH YNAB_* NYNAB_* +deps= + -rdev-requirements.txt diff --git a/test.sh b/test.sh index bc27d01..70b69dd 100755 --- a/test.sh +++ b/test.sh @@ -5,7 +5,7 @@ set -ev tox if [[ ${TRAVIS_EVENT_TYPE} = "cron" || ${TRAVIS_COMMIT_MESSAGE} = *"[ci-cron]"* ]]; then - tox -e test_live; + tox -c live_tox.ini fi if [ -n "$TRAVIS_TAG" ]; then diff --git a/tox.ini b/tox.ini index f5a7696..e334693 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,6 @@ [tox] envlist = py27,py34,py35 -[testenv:test_live] -commands= - py.test test_live/ - [testenv] passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH YNAB_* NYNAB_* deps=