Permalink
Browse files

chore: Drop support for Node 0.10 and 0.12

Related to #660

BREAKING CHANGE: Node 0.10 and 0.12 are not supported anymore.
See https://github.com/nodejs/LTS#lts-schedule for details.
Node.js 0.10 and 0.12 are both officially dead since 2016-12-31.
  • Loading branch information...
honzajavorek committed Feb 10, 2017
1 parent c418afb commit e7792ef6053b3dccf1be1efabc8aff3ab9bc7939
Showing with 8 additions and 10 deletions.
  1. +1 −3 .travis.yml
  2. +4 −4 package.json
  3. +3 −3 provisioning.sh
View
@@ -1,8 +1,6 @@
sudo: false
language: "node_js"
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
env:
@@ -20,7 +18,7 @@ before_install:
#- "gem install travis" # needed for 'npm run test:hooks-handlers', disabled because of https://github.com/apiaryio/dredd/issues/672
install: "npm install --no-optional"
script:
- "if [[ $TRAVIS_NODE_VERSION = 6 ]]; then npm run lint; fi" # 'conventional-changelog-lint' doesn't work with old Node.js versions
- "npm run lint"
- "npm test"
#- "npm run test:hooks-handlers" # disabled because of https://github.com/apiaryio/dredd/issues/672
after_success:
View
@@ -7,7 +7,7 @@
"dredd": "bin/dredd"
},
"engines": {
"node": ">= 0.10"
"node": ">= 4"
},
"scripts": {
"lint": "conventional-changelog-lint --from=master && coffeelint src",
@@ -34,9 +34,9 @@
"coffee-script": "^1.10.0",
"colors": "^1.1.2",
"cross-spawn": "^5.0.1",
"dredd-transactions": "^3.0.1",
"dredd-transactions": "^4.0.0",
"file": "^0.2.2",
"gavel": "^0.5.3",
"gavel": "^1.0.0",
"glob": "^7.0.5",
"html": "^1.0.0",
"htmlencode": "0.0.4",
@@ -69,7 +69,7 @@
"lcov-result-merger": "^1.2.0",
"mocha": "^3.0.0",
"mocha-lcov-reporter": "^1.2.0",
"nock": "^8.0.0",
"nock": "^9.0.4",
"semantic-release": "^6.3.2",
"sinon": "^1.17.4"
},
View
@@ -1,6 +1,6 @@
#!/bin/bash
sudo apt-get install -y mc curl git-core build-essential
sudo su vagrant -c 'curl -L https://raw.github.com/creationix/nvm/master/install.sh | sh'
sudo su vagrant -c '. ~vagrant/.nvm/nvm.sh; nvm install v0.10.21'
sudo su vagrant -c '. ~vagrant/.nvm/nvm.sh;nvm use v0.10.21'
sudo su vagrant -c '. ~vagrant/.nvm/nvm.sh;nvm alias default v0.10.21'
sudo su vagrant -c '. ~vagrant/.nvm/nvm.sh; nvm install v6'
sudo su vagrant -c '. ~vagrant/.nvm/nvm.sh;nvm use v6'
sudo su vagrant -c '. ~vagrant/.nvm/nvm.sh;nvm alias default v6'

0 comments on commit e7792ef

Please sign in to comment.