Skip to content

Commit

Permalink
Travis!
Browse files Browse the repository at this point in the history
  • Loading branch information
ceejbot committed Sep 28, 2017
1 parent 7def7b4 commit b52daee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ node_js:
- "6"
- "8"
script:
- npm run travis
- npm run test:travis
after_success: npm run coverage
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@
"url": "git+https://github.com/ceejbot/xxbloom.git"
},
"scripts": {
"lint": "xo",
"test": "nyc mocha -R spec"
"coverage": "nyc report --reporter=text-lcov | coveralls",
"test": "mocha -R spec",
"test:cov": "nyc mocha -R spec",
"test:style": "xo",
"test:travis": "npm run test:cov && npm run test:style"
},
"xo": {
"extends": "eslint-config-ceejbot"
Expand Down

0 comments on commit b52daee

Please sign in to comment.