Skip to content

Commit dee2e5b

Browse files
committed
ci: update coverals script trigger
1 parent bd27aee commit dee2e5b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
language: node_js
22
node_js:
3-
- v11
4-
- v10
5-
- v9
6-
- v8
3+
- "node"
4+
- "lts/*"
5+
- 10
6+
- 8
77

88
after_success:
9-
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
9+
- npm run coverage

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"version": "conventional-changelog -i changelog.md -s -r 0 && git commit -am \"build: update changelog\"",
2222
"prepare": "npm run build",
2323
"build": "rimraf lib && babel src -d lib",
24+
"coverage": "nyc report --reporter=text-lcov | coveralls",
2425
"pretest": "npm run build",
2526
"test": "nyc ava"
2627
},

0 commit comments

Comments
 (0)