Tiny travis.yml tweak

This commit is contained in:
Sindre Sorhus 2018-09-01 02:50:53 +07:00
parent a2b5fa22dc
commit 70f22d87ba
2 changed files with 4 additions and 4 deletions

View file

@ -3,4 +3,5 @@ node_js:
- '8'
- '6'
- '4'
after_success: npm run coveralls
after_success:
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'

View file

@ -8,9 +8,8 @@
"node": ">=4"
},
"scripts": {
"test": "xo && tsc --project types && flow --max-warnings=0 && nyc ava",
"bench": "matcha benchmark.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
"test": "xo && nyc ava && tsc --project types && flow --max-warnings=0",
"bench": "matcha benchmark.js"
},
"files": [
"index.js",