From 0aa4aeaddc1a0982fb7fed025679d8705e22f19e Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 20 Sep 2013 19:52:49 -0700 Subject: [PATCH] Change directory in .travis.yml before running unit tests. --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 241407156..eaf350b99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,5 +30,6 @@ script: - "[ $MAKE != false ] && git clone --depth=1 --branch=master git://github.com/lodash/lodash-cli.git ./node_modules/lodash-cli || true" - "[ $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 && $BIN ./test.js ../dist/lodash.$BUILD.js && cd ../ || true" - - "[ $BUILD != false ] && cd ./test && $BIN ./test.js ../dist/lodash.$BUILD.min.js && cd ../ || true" + - "[ $BUILD != false ] && cd ./test || true" + - "[ $BUILD != false ] && $BIN ./test.js ../dist/lodash.$BUILD.js || true" + - "[ $BUILD != false ] && $BIN ./test.js ../dist/lodash.$BUILD.min.js || true"