Skip to content

Commit

Permalink
[tools] Fix npm install issues
Browse files Browse the repository at this point in the history
This is done by moving beforeinstall.sh from .travis.yml to the preinstall field of
package.json
  • Loading branch information
haoqunjiang authored and tonyganch committed Jul 11, 2016
1 parent e38930e commit 2833797
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ language: node_js
node_js:
- "0.10"
- "0.12"
- "1.8"
- "2.5"
- "3.3"
- "4.2"

before_install:
- ./scripts/beforeinstall.sh
- "1"
- "2"
- "3"
- "4"
- "5"

matrix:
allow_failures:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"csscomb": "./bin/csscomb"
},
"scripts": {
"preinstall": "./scripts/preinstall.sh",
"build": "./scripts/build.sh",
"coverage": "./scripts/coverage.sh",
"test": "./scripts/build.sh && ./scripts/test.sh",
Expand Down
File renamed without changes.

0 comments on commit 2833797

Please sign in to comment.