Skip to content

Commit

Permalink
Add Travis-CI support.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianba committed Apr 15, 2017
1 parent 77894ea commit dafff31
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: node_js
node_js:
- "node"
script:
- npm run test-coverage

after_success:
- npm run coveralls
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"intents": "node scripts/intents",
"utterances": "node scripts/utterances",
"test": "mocha",
"coverage": "babel-node node_modules/babel-istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha"
"test-coverage": "babel-node node_modules/babel-istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha",
"coveralls": "coveralls < coverage/lcov.info"
},
"repository": {
"type": "git",
Expand All @@ -36,6 +37,7 @@
"babel-istanbul": "^0.12.2",
"babel-preset-es2017": "^6.22.0",
"black-hole-stream": "0.0.1",
"coveralls": "^2.13.0",
"mocha": "^3.2.0",
"nock": "^9.0.11",
"timezonecomplete": "^5.4.4"
Expand Down

0 comments on commit dafff31

Please sign in to comment.