We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f6a06f commit c0b4d76Copy full SHA for c0b4d76
.travis.yml
@@ -1,5 +1,7 @@
1
language: node_js
2
node_js:
3
+ - "0.10"
4
+ - "0.12"
5
- "4"
6
- "5"
7
- "6"
package.json
@@ -7,8 +7,8 @@
"build": "rm -r es5 > /dev/null; babel ./*.js -d es5",
8
"prepublish": "npm run build",
9
"lint": "eslint *.js",
10
- "mocha": "mocha *.test.js es5/*.test.js",
11
- "test": "npm run lint && npm run mocha"
+ "mocha": "[ ${npm_config_node_version:0:2} == '0.' ] && mocha es5/*.test.js || mocha *.test.js",
+ "test": "npm run lint && npm run build && npm run mocha"
12
},
13
"repository": {
14
"type": "git",
0 commit comments