Skip to content

Commit fc9f714

Browse files
committed
Merge pull request #24 from hindessm/travis-for-testing
Add Travis testing.
2 parents 4565108 + 66375f1 commit fc9f714

File tree

2 files changed

+23
-10
lines changed

2 files changed

+23
-10
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: node_js
2+
before_install:
3+
- npm install -g npm@~1.4.18
4+
node_js:
5+
- "0.10"
6+
- "0.8"
7+
script:
8+
- 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
9+
before_script:
10+
- npm install -g istanbul
11+
- npm install coveralls
12+
- npm install git+https://github.com/node-red/node-red.git
13+
- export NODE_RED_HOME=`pwd`/node_modules/node-red

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
"flickr": "flickr/flickr.js",
2323
"dropbox": "dropbox/dropbox.js"
2424
}
25+
},
26+
"devDependencies": {
27+
"grunt": "0.4.5",
28+
"grunt-cli": "0.1.13",
29+
"grunt-lint-inline": "0.4.3",
30+
"grunt-simple-mocha": "0.4.0",
31+
"grunt-contrib-jshint": "0.10.0",
32+
"mocha": "1.21.4",
33+
"should": "4.0.4",
34+
"supertest": "^0.13.0"
2535
}
26-
},
27-
"devDependencies": {
28-
"grunt": "0.4.5",
29-
"grunt-cli": "0.1.13",
30-
"grunt-lint-inline": "0.4.3",
31-
"grunt-simple-mocha": "0.4.0",
32-
"grunt-contrib-jshint": "0.10.0",
33-
"mocha": "1.21.4",
34-
"should": "4.0.4"
35-
}
3636
}

0 commit comments

Comments
 (0)