diff --git a/.travis.yml b/.travis.yml index 3444a98bc..b8b97f75f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/appveyor.yml b/appveyor.yml index 523738ada..e0bbf24cc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: # diff --git a/package.json b/package.json index 52bbe9114..2d84e733d 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ }, "browser": "./dist/less.js", "engines": { - "node": ">=0.12" + "node": ">=4" }, "scripts": { "test": "grunt test"