Skip to content

Commit a866c02

Browse files
author
Mike Taylor
committed
Merge pull request #946 from /issues/942/2
Issue #942. Don't exit 1 if the conditional fails.
2 parents 485fd8d + b05a927 commit a866c02

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)