Skip to content

Commit

Permalink
Test 0.10 and 0.12 in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
forivall committed May 2, 2016
1 parent 8f6a06f commit 5cf134d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "5"
- "6"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"build": "rm -r es5 > /dev/null; babel ./*.js -d es5",
"prepublish": "npm run build",
"lint": "eslint *.js",
"mocha": "mocha *.test.js es5/*.test.js",
"test": "npm run lint && npm run mocha"
"mocha": "[ `echo $npm_config_node_version | cut -d. -f1` -eq 0 ] && mocha es5/*.test.js || mocha *.test.js",
"test": "npm run lint && npm run build && npm run mocha"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 5cf134d

Please sign in to comment.