Skip to content

Commit

Permalink
Merge pull request #69 from apiaryio/honzajavorek/drop-legacy-node-ve…
Browse files Browse the repository at this point in the history
…rsions

Drop support for Node 0.10 and 0.12
  • Loading branch information
w-vi committed Feb 10, 2017
2 parents ca699da + 79ff348 commit 6def817
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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 @@ -19,7 +17,7 @@ before_install:
- "npm -g install npm@latest"
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"
after_success:
- "npm run coveralls"
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "0.0.0-semantically-released",
"description": "Compiles HTTP Transactions (Request-Response pairs) from API description document",
"main": "lib/dredd-transactions.js",
"engines": {
"node": ">= 4"
},
"scripts": {
"lint": "conventional-changelog-lint --from=master && coffeelint src",
"build": "coffee -b -c -o lib/ src/",
Expand Down

0 comments on commit 6def817

Please sign in to comment.