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."
|
||||
exit
|
||||
fi
|
||||
npm install -g npm
|
||||
script:
|
||||
- |
|
||||
if [ "$TEST_TYPE" = build_website ]; then
|
||||
|
@ -42,12 +43,12 @@ script:
|
|||
popd
|
||||
fi
|
||||
else
|
||||
grunt $TEST_TYPE
|
||||
./node_modules/.bin/grunt $TEST_TYPE
|
||||
fi
|
||||
after_script:
|
||||
- |
|
||||
if [ "$TEST_TYPE" = test ] && [ "$SERVER" ]; then
|
||||
grunt build
|
||||
./node_modules/.bin/grunt build
|
||||
curl \
|
||||
-F "react=@build/react.js" \
|
||||
-F "react.min=@build/react.min.js" \
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
"eslint": "^0.14.1",
|
||||
"esprima-fb": "^13001.1001.0-dev-harmony-fb",
|
||||
"grunt": "~0.4.2",
|
||||
"grunt-cli": "~0.1.9",
|
||||
"grunt-cli": "^0.1.13",
|
||||
"grunt-compare-size": "~0.4.0",
|
||||
"grunt-contrib-clean": "^0.6.0",
|
||||
"grunt-contrib-compress": "^0.13.0",
|
||||
|
|
Loading…
Reference in New Issue