Skip to content

Commit

Permalink
separate live_tests in another tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
rienafairefr committed Mar 27, 2018
1 parent ec2bc25 commit e0e6363
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
11 changes: 11 additions & 0 deletions live_tox.ini
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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=
Expand Down

0 comments on commit e0e6363

Please sign in to comment.