Skip to content

Commit

Permalink
Merge pull request #3150 from anthony-redFox/3.x
Browse files Browse the repository at this point in the history
Drop node 0.10 and 0.12 and added node 9 matrix testing
  • Loading branch information
matthew-dean authored Jan 5, 2018
2 parents 385da8f + 0b7c81c commit d30e3a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ cache:
directories:
- travis-phantomjs
node_js:
- "9"
- "8"
- "6"
- "4"
# - "0.12"
# - "0.10"
before_install:
# from https://github.com/travis-ci/travis-ci/issues/3225#issuecomment-177592725
# and also from https://github.com/travis-ci/travis-ci/issues/3225#issuecomment-200965782
Expand Down
10 changes: 1 addition & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
# Test against these versions of Node.js.
environment:
matrix:
# - nodejs_version: "0.10"
# - nodejs_version: "0.12"
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "9"

# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node 0.STABLE.latest
- ps: Install-Product node $env:nodejs_version
# Use npm v2
- npm -g install npm@2
- set PATH=%APPDATA%\npm;%PATH%
- npm -v

# node 0.10 & 0.12 have race condition issues when running custom install scripts
# this can cause phantomjs-prebuilt install script to fail with the error:
# <Cannot find module 'boom'>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"browser": "./dist/less.js",
"engines": {
"node": ">=0.12"
"node": ">=4"
},
"scripts": {
"test": "grunt test"
Expand Down

0 comments on commit d30e3a6

Please sign in to comment.