Skip to content

Commit c10b9f4

Browse files
committed
trying to get coveralls working
1 parent 6a7f50e commit c10b9f4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules/
2+
coverage/

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ node_js:
44
install:
55
- npm install -g babel-cli gulp
66
- npm install
7-
script:
8-
- npm run coveralls
7+
script: npm run coverage
98
deploy:
109
provider: script
1110
script: gulp

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"scripts": {
77
"build": "gulp default",
88
"prepublish": "npm run build; npm run test",
9-
"test": "babel-node ./node_modules/istanbul/lib/cli cover --report lcovonly ./node_modules/mocha/bin/_mocha -- --require index.js",
10-
"cover": "babel-node ./node_modules/istanbul/lib/cli cover --report lcovonly ./node_modules/mocha/bin/_mocha -- --require index.js",
11-
"coveralls": "npm run test -- && cat ./coverage/lcov.info | coveralls"
9+
"test": "babel-node ./node_modules/istanbul/lib/cli cover ./node_modules/mocha/bin/_mocha -- --require index.js",
10+
"cover": "babel-node ./node_modules/istanbul/lib/cli cover ./node_modules/mocha/bin/_mocha -- --require index.js",
11+
"coverage": "npm run test -- && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
1212
},
1313
"keywords": [
1414
"react",

0 commit comments

Comments
 (0)