Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Drop support for Node 0.10 and 0.12 #716

Merged
merged 1 commit into from
Feb 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
sudo: false
language: "node_js"
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
env:
Expand All @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dredd": "bin/dredd"
},
"engines": {
"node": ">= 0.10"
"node": ">= 4"
},
"scripts": {
"lint": "conventional-changelog-lint --from=master && coffeelint src",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nock could not be updated until now, because they dropped 0.10 and 0.12 support in their new versions. See #660.

"semantic-release": "^6.3.2",
"sinon": "^1.17.4"
},
Expand Down
6 changes: 3 additions & 3 deletions provisioning.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file isn't actively used anywhere and should be deprecated by #422 in the future, but since it's still in the repo, I've updated it.

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'