Browse Source

Update travis script

pull/4/head
Luke Childs 8 years ago
parent
commit
333e95ddf5
  1. 2
      .travis.yml
  2. 3
      package.json

2
.travis.yml

@ -3,7 +3,7 @@ node_js:
- 'node'
- '6'
- '4'
script: npm run lint && npm test
script: npm test
after_success: npm run coverage
notifications:
email:

3
package.json

@ -7,8 +7,7 @@
"node": ">=4"
},
"scripts": {
"test": "nyc ava test",
"lint": "xo",
"test": "xo && nyc ava",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"xo": {

Loading…
Cancel
Save