Skip to content

Commit fdacef2

Browse files
committed
Updating CI variable for tests
1 parent 134857b commit fdacef2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sa-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function test_standalone {
2727
exit 1
2828
fi
2929

30-
if [ ! "$CIRCLECI" == "true" ]; then
30+
if [ ! "${IN_TRAVIS}" == "true" ]; then
3131
echo Tearing down Selenium standalone-$BROWSER$DEBUG container
3232
docker stop $SA_NAME
3333
docker rm $SA_NAME

test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function test_node {
5959
exit 1
6060
fi
6161

62-
if [ ! "$CIRCLECI" == "true" ]; then
62+
if [ ! "${IN_TRAVIS}" == "true" ]; then
6363
echo Removing the test container
6464
docker rm $TEST_CONTAINER
6565
fi
@@ -72,7 +72,7 @@ if [ -z $DEBUG ]; then
7272
test_node phantomjs $DEBUG
7373
fi
7474

75-
if [ ! "$CIRCLECI" == "true" ]; then
75+
if [ ! "${IN_TRAVIS}" == "true" ]; then
7676
echo Tearing down Selenium Chrome Node container
7777
docker stop $NODE_CHROME
7878
docker rm $NODE_CHROME

0 commit comments

Comments
 (0)