Use local `grunt` executable on Travis
Builds have been flaky lately. Maybe this will help?
This commit is contained in:
parent
3b10a7b038
commit
e534e0730e
|
@ -15,6 +15,7 @@ before_install:
|
||||||
echo "Only docs were updated, stopping build process."
|
echo "Only docs were updated, stopping build process."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
npm install -g npm
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
if [ "$TEST_TYPE" = build_website ]; then
|
if [ "$TEST_TYPE" = build_website ]; then
|
||||||
|
@ -42,12 +43,12 @@ script:
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
grunt $TEST_TYPE
|
./node_modules/.bin/grunt $TEST_TYPE
|
||||||
fi
|
fi
|
||||||
after_script:
|
after_script:
|
||||||
- |
|
- |
|
||||||
if [ "$TEST_TYPE" = test ] && [ "$SERVER" ]; then
|
if [ "$TEST_TYPE" = test ] && [ "$SERVER" ]; then
|
||||||
grunt build
|
./node_modules/.bin/grunt build
|
||||||
curl \
|
curl \
|
||||||
-F "react=@build/react.js" \
|
-F "react=@build/react.js" \
|
||||||
-F "react.min=@build/react.min.js" \
|
-F "react.min=@build/react.min.js" \
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
"eslint": "^0.14.1",
|
"eslint": "^0.14.1",
|
||||||
"esprima-fb": "^13001.1001.0-dev-harmony-fb",
|
"esprima-fb": "^13001.1001.0-dev-harmony-fb",
|
||||||
"grunt": "~0.4.2",
|
"grunt": "~0.4.2",
|
||||||
"grunt-cli": "~0.1.9",
|
"grunt-cli": "^0.1.13",
|
||||||
"grunt-compare-size": "~0.4.0",
|
"grunt-compare-size": "~0.4.0",
|
||||||
"grunt-contrib-clean": "^0.6.0",
|
"grunt-contrib-clean": "^0.6.0",
|
||||||
"grunt-contrib-compress": "^0.13.0",
|
"grunt-contrib-compress": "^0.13.0",
|
||||||
|
|
Loading…
Reference in New Issue