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' - 'node'
- '6' - '6'
- '4' - '4'
script: npm run lint && npm test script: npm test
after_success: npm run coverage after_success: npm run coverage
notifications: notifications:
email: email:

3
package.json

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

Loading…
Cancel
Save