Skip to content

Commit

Permalink
Merge pull request node-red#24 from hindessm/travis-for-testing
Browse files Browse the repository at this point in the history
Add Travis testing.
  • Loading branch information
knolleary committed Sep 29, 2014
2 parents 4565108 + 66375f1 commit fc9f714
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 10 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: node_js
before_install:
- npm install -g npm@~1.4.18
node_js:
- "0.10"
- "0.8"
script:
- istanbul cover ./node_modules/.bin/grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true ) && rm -rf coverage
before_script:
- npm install -g istanbul
- npm install coveralls
- npm install git+https://github.com/node-red/node-red.git
- export NODE_RED_HOME=`pwd`/node_modules/node-red
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
"flickr": "flickr/flickr.js",
"dropbox": "dropbox/dropbox.js"
}
},
"devDependencies": {
"grunt": "0.4.5",
"grunt-cli": "0.1.13",
"grunt-lint-inline": "0.4.3",
"grunt-simple-mocha": "0.4.0",
"grunt-contrib-jshint": "0.10.0",
"mocha": "1.21.4",
"should": "4.0.4",
"supertest": "^0.13.0"
}
},
"devDependencies": {
"grunt": "0.4.5",
"grunt-cli": "0.1.13",
"grunt-lint-inline": "0.4.3",
"grunt-simple-mocha": "0.4.0",
"grunt-contrib-jshint": "0.10.0",
"mocha": "1.21.4",
"should": "4.0.4"
}
}

0 comments on commit fc9f714

Please sign in to comment.