From cae64f0e572c03f50c9f1391ee178430aeb9bff6 Mon Sep 17 00:00:00 2001 From: Danny Hermes Date: Wed, 4 Jan 2017 11:20:36 -0800 Subject: [PATCH] Only running 3.4 tests on PR builds. It's worth noting that we are "one foot out the door" with Travis, so this change is just a temporary kludge to keep push builds from erroring out. The "correct" long-term solution is: - run a nightly cron job which runs everything - run **everything** on "tag" builds - on all other non-PR builds, run a restricted set of tests based on the new changes added since the last build --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9bbf3a0a8c3f..8251e037e87c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ install: script: - python2.7 scripts/run_unit_tests.py - - python3.4 scripts/run_unit_tests.py + - if [[ "${TRAVIS_EVENT_TYPE}" != "pull_request" ]]; then python3.4 scripts/run_unit_tests.py; fi - python3.5 scripts/run_unit_tests.py - python scripts/run_unit_tests.py --tox-env cover - tox -e lint