From fdacef25dd49a1c47ef920113337f615ea891fee Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Tue, 18 Apr 2017 00:51:17 +0200 Subject: [PATCH] Updating CI variable for tests --- sa-test.sh | 2 +- test.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sa-test.sh b/sa-test.sh index 90963ddef..15f9cd8eb 100755 --- a/sa-test.sh +++ b/sa-test.sh @@ -27,7 +27,7 @@ function test_standalone { exit 1 fi - if [ ! "$CIRCLECI" == "true" ]; then + if [ ! "${IN_TRAVIS}" == "true" ]; then echo Tearing down Selenium standalone-$BROWSER$DEBUG container docker stop $SA_NAME docker rm $SA_NAME diff --git a/test.sh b/test.sh index b38505e84..77c9fbe11 100755 --- a/test.sh +++ b/test.sh @@ -59,7 +59,7 @@ function test_node { exit 1 fi - if [ ! "$CIRCLECI" == "true" ]; then + if [ ! "${IN_TRAVIS}" == "true" ]; then echo Removing the test container docker rm $TEST_CONTAINER fi @@ -72,7 +72,7 @@ if [ -z $DEBUG ]; then test_node phantomjs $DEBUG fi -if [ ! "$CIRCLECI" == "true" ]; then +if [ ! "${IN_TRAVIS}" == "true" ]; then echo Tearing down Selenium Chrome Node container docker stop $NODE_CHROME docker rm $NODE_CHROME