Skip to content

Commit b05a927

Browse files
author
Mike Taylor
committed
Issue #942. Don't exit 1 if the conditional fails.
1 parent 485fd8d commit b05a927

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ before_script:
5353
# just run the non-auth tests. otherwise, run everything.
5454
script:
5555
- nosetests
56-
- '[ "${TRAVIS_SECURE_ENV_VARS}" = "false" ] && node_modules/.bin/intern-runner reporters=console config=tests/intern functionalSuites=tests/functional-nonauth'
57-
- '[ "${TRAVIS_SECURE_ENV_VARS}" = "true" ] && node_modules/.bin/intern-runner reporters=console config=tests/intern user="$USER" pw="$PW"'
56+
- if [ "$TRAVIS_SECURE_ENV_VARS" == "false" ] ; then node_modules/.bin/intern-runner reporters=console config=tests/intern functionalSuites=tests/functional-nonauth ; fi
57+
- if [ "$TRAVIS_SECURE_ENV_VARS" == "true" ] ; then node_modules/.bin/intern-runner reporters=console config=tests/intern user="$USER" pw="$PW" ; fi

0 commit comments

Comments
 (0)