Skip to content

Commit

Permalink
travis build config added
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroslav-kubicek committed Mar 25, 2016
1 parent ec1a653 commit beb4419
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: node_js
node_js:
- "5"
- "4"
- "4.0"

after_success: 'npm run coverage'

deploy:
provider: npm
email: jaroslav.kubicek@gmail.com
api_key:
secure: GS7HhDoDSI3oh7CMmekXAr8LtVSlQNpT/z50RuAxt4AO8YE8h9uL2jOwmPR+nCk5NXF+wZFF9KPW5fddv9NzTix/IRCgVmiNI80ZCTDU18IqnkM+T+ExC1LvMJME7pYkDduE4Wk/1vhPe4CI4meiX+CViiEG9x5GBs1eBCqdto/EqV7YreBGtsyR0+ju5VxitJ8SlTcQ0BCD6/Xcr5u1APfrHl0GMY1NogvuNIwXPD9rdk2mBT5M+w9vXeD3wkGTdmmR+/7ZrjPh8qdnGCqxNVwQURRgTnh+WlsyJcfkDVU6FWwRaN8xINavZmcrYMWy2KqhxYzCt9OVCWwZWvTzDyoTY6NnjBAq4hPB/Le3E6tD4gOUy3wNBjcpgB3fylHlwcIgZhoONZx8btktdpcdN4BtBvaUC5APyXUT1YDDF2WeYwtzIuUVbakyIza3lE42/qizHy99UiwskfrCOvPg0isBc9kAoWNVvoVP1EJ6JzvKuC0xIo0y86XClfFR9SjFXzz/75PUMg6zPsIytRbmTJepZljfp9TSOKV6mSWZ7qnwn1Lr6uj/EiTp7s6yCTdhEjc4lMu7B9Jh9lu2J+5pih840BABHWivKtEyvJlBYR4vclNiA/iwOx/yG275wVThYgncefMkEKivHYSZjVZcLIDeBEt3wDLvtl87LztkCHs=
on:
tags: true
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Write the synchronous-like code with promises and generators.",
"main": "spawnGenerator.js",
"scripts": {
"test": "./node_modules/istanbul/lib/cli.js cover ./node_modules/.bin/_mocha -- ./test"
"test": "./node_modules/istanbul/lib/cli.js cover ./node_modules/.bin/_mocha -- ./test",
"coverage": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
},
"repository": {
"type": "git",
Expand All @@ -23,8 +24,12 @@
"url": "https://github.com/jaroslav-kubicek/spawn-generator/issues"
},
"homepage": "https://github.com/jaroslav-kubicek/spawn-generator#readme",
"engines": {
"node": ">=4.0.0"
},
"devDependencies": {
"chai": "^3.5.0",
"coveralls": "^2.11.9",
"istanbul": "^0.4.2",
"mocha": "^2.4.5"
}
Expand Down

0 comments on commit beb4419

Please sign in to comment.