Skip to content

Commit

Permalink
chore(node): Dropping support for node < 4
Browse files Browse the repository at this point in the history
Build only node 4 and up on Travis

BREAKING CHANGE: Require node v4 or above
  • Loading branch information
evansiroky committed Oct 13, 2016
1 parent 9390e60 commit 7fc5210
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,18 @@ node_js:
- "6"
- "5"
- "4"
- "0.12"
- "0.10"

env:
- COVERAGE=false

matrix:
fast_finish: true
include:
- node_js: "0.12"
- node_js: "4"
env: COVERAGE=true
script: "npm run codeclimate"
allow_failures:
- node_js: "0.12"
- node_js: "4"
env: COVERAGE=true
script: "npm run codeclimate"

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"url": "https://github.com/evansiroky/node-geo-tz/issues"
},
"homepage": "https://github.com/evansiroky/node-geo-tz#readme",
"engines": {
"node": ">=4"
},
"main": "index.js",
"scripts": {
"updateTzData": "node scripts/updateData.js",
Expand Down

0 comments on commit 7fc5210

Please sign in to comment.