Skip to content

Commit

Permalink
feat(test): testing on multiple node versions, closes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed May 2, 2016
1 parent a0bd8c6 commit 708927a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ cache:
notifications:
email: false
node_js:
- '0.12'
- '4'
- '6'
before_install:
- npm i -g npm@^2.0.0
before_script:
Expand Down
13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"use-case": "node test/use-case.js & node test/use-case-nested.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"issues": "git-issues",
"check": "autochecker 0.12.9 4.0 5.0",
"check": "autochecker 0.12.9 4.0 5.0 6",
"check-0.12": "autochecker 0.12.6",
"commit": "commit-wizard",
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"
Expand All @@ -28,6 +28,7 @@
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
"license": "MIT",
"devDependencies": {
"condition-node-version": "1.3.0",
"git-issues": "1.2.0",
"gt": "0.10.0",
"pre-git": "3.8.3",
Expand All @@ -44,10 +45,18 @@
"npm test",
"npm run use-case"
],
"pre-push": ["npm run size"],
"pre-push": [
"npm run size"
],
"post-commit": [],
"post-checkout": [],
"post-merge": []
}
},
"release": {
"verifyConditions": {
"path": "condition-node-version",
"node": "4"
}
}
}

0 comments on commit 708927a

Please sign in to comment.