Change directory in .travis.yml before running unit tests.

This commit is contained in:
John-David Dalton
2013-09-20 19:52:49 -07:00
parent ca81f1b2e8
commit 0aa4aeaddc

View File

@@ -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"