Skip to content

Commit fba8613

Browse files
committed
Fix: remove postinstall script
1 parent b3a780a commit fba8613

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ node_js:
44
- "4"
55
- "6"
66
- "7"
7+
before_script:
8+
- npm run setup
79
after_success:
810
- npm run codecov

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"clean": "rimraf .nyc_output coverage",
1212
"coverage": "nyc report --reporter lcov && opener ./coverage/lcov-report/index.html",
1313
"lint": "eslint index.js \"test/*.js\"",
14-
"postinstall": "git submodule update --init && cd test/fixtures/eslint && npm install",
1514
"postversion": "git push && git push --tags",
1615
"pretest": "npm run lint",
1716
"preversion": "npm test",
17+
"setup": "git submodule update --init && cd test/fixtures/eslint && npm install",
1818
"test": "nyc mocha \"test/*.js\" --compilers js:babel-register --reporter progress --timeout 30000",
1919
"watch": "mocha \"test/*.js\" --compilers js:babel-register --growl --reporter progress --watch",
2020
"codecov": "nyc report --reporter lcovonly && codecov"

0 commit comments

Comments
 (0)