From 478585940b0300b7c2995951e237d720db6f278c Mon Sep 17 00:00:00 2001 From: Joshua Roesslein Date: Mon, 17 Mar 2014 21:05:38 -0700 Subject: [PATCH] Only run tests agains Twitter API on production branch. --- run_tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index 1bd1ba8..4a17734 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,8 +1,8 @@ #! /usr/bin/env bash -if [[ $TRAVIS_SECURE_ENV_VARS == "false" ]]; then +if [[ $TRAVIS_BRANCH == "production" ]]; then + nosetests -v --with-coverage tests.test_api tests.test_streaming tests.test_cursors tests.test_utils +else curl "https://dl.dropboxusercontent.com/u/231242/record.json" -o tests/record.json USE_REPLAY=1 nosetests -v tests.test_api tests.test_utils -else - nosetests -v --with-coverage tests.test_api tests.test_streaming tests.test_cursors tests.test_utils fi -- 2.25.1