Skip to content
This repository has been archived by the owner on Jul 14, 2019. It is now read-only.

Commit

Permalink
coverage via travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluisq committed Dec 6, 2016
1 parent fb747bb commit c96516f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
sudo: false

language: node_js

node_js:
- '4'
- '5'
- '6'
- '7'

git:
depth: 1

branches:
only:
- master
- /^greenkeeper-/

notifications:
email: false

after_success: npm run coverage
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"prepublish": "node ./scripts/build.js",
"release": "node ./scripts/release.js",
"lint": "eslint src",
"test": "npm run lint && jest --coverage && npm run test:coverage",
"test:coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
"test": "npm run lint && jest --coverage",
"coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"devDependencies": {
"babel-cli": "^6.18.0",
Expand Down

0 comments on commit c96516f

Please sign in to comment.