From 8bfdbd0fed57816841373857a677d4be04e7e7f1 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 13 Oct 2013 10:44:08 -0700 Subject: [PATCH] Ensure test fails are reported correctly via .travis.yml. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7cc82bd0e..58c248c87 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,5 +54,5 @@ script: - "[ $MAKE != false ] && mkdir ./node_modules/lodash-cli/node_modules && cd ./node_modules/lodash-cli/node_modules/ && ln -s ../../../ ./lodash && cd ../ && npm i . && cd ../../ || true" - "[ $MAKE != false ] && node ./node_modules/lodash-cli/bin/lodash $BUILD -o ./dist/lodash.$BUILD.js || true" - "[ $BUILD != false ] && cd ./test || true" - - "[ $BUILD != false ] && $BIN $OPTION ./test.js ../dist/lodash.$BUILD.js || true" - - "[ $BUILD != false ] && $BIN $OPTION ./test.js ../dist/lodash.$BUILD.min.js || true" + - "[ $BUILD == false ] && true || $BIN $OPTION ./test.js ../dist/lodash.$BUILD.js" + - "[ $BUILD == false ] && true || $BIN $OPTION ./test.js ../dist/lodash.$BUILD.min.js"