Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit 7446c2b

Browse files
committed
Send coverage in travis
1 parent b7e6ce1 commit 7446c2b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ node_js:
88
sudo: false
99

1010
script:
11-
- npm install
1211
- npm run build
1312
- npm test
1413

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"clean": "rimraf ./dist ./docs",
99
"build": "babel -d ./dist ./lib",
1010
"test": "NODE_ENV=test ava",
11-
"coverage": "NODE_ENV=test nyc ava",
11+
"coverage": "NODE_ENV=test nyc report --reporter=text-lcov",
1212
"lint": "eslint ./lib",
1313
"docs": "documentation build -f html -o docs",
1414
"deploy:docs": "buildbranch gh-pages docs",

0 commit comments

Comments
 (0)