Skip to content

Commit

Permalink
Updating CI variable for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Apr 17, 2017
1 parent 134857b commit fdacef2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sa-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit fdacef2

Please sign in to comment.