Skip to content

Commit 8956049

Browse files
committed
test travis use node 0.11
1 parent d709f54 commit 8956049

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ results
1414

1515
node_modules
1616
npm-debug.log
17+
coverage/

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ Makefile
55
.travis.yml
66
logo.png
77
.jshint*
8+
coverage/

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: node_js
22
node_js:
3-
- '0.10'
3+
- '0.11'
44
script: "npm run test-travis"
55
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"

package.json

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,25 @@
44
"description": "Gitlab API nodejs client.",
55
"main": "index.js",
66
"scripts": {
7-
"test": "mocha -R spec -t 20000 -r should-http test/*.test.js",
8-
"test-cov": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -t 20000 -r should-http test/*.test.js",
9-
"test-travis": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- -t 20000 -r should-http test/*.test.js",
7+
"test": "mocha -R spec -t 20000 test/*.test.js",
8+
"test-cov": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -t 20000 test/*.test.js",
9+
"test-travis": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- -t 20000 test/*.test.js",
1010
"jshint": "jshint .",
11-
"autod": "autod -w --prefix '~' && npm run cnpm",
11+
"autod": "autod -w --prefix '~'",
1212
"cnpm": "npm install --registry=https://registry.npm.taobao.org",
1313
"contributors": "contributors -f plain -o AUTHORS"
1414
},
1515
"dependencies": {
16-
"debug": "~1.0.4",
16+
"debug": "~2.0.0",
1717
"restful-client": "~1.0.0"
1818
},
1919
"devDependencies": {
2020
"autod": "*",
21-
"blanket": "*",
2221
"contributors": "*",
23-
"coveralls": "*",
22+
"istanbul": "*",
2423
"mocha": "*",
2524
"pedding": "~1.0.0",
26-
"should": "~4.0.4",
27-
"should-http": "*"
25+
"should": "~4.0.4"
2826
},
2927
"homepage": "https://github.com/repo-utils/gitlab",
3028
"repository": {

0 commit comments

Comments
 (0)