language: node_js
node_js:
  - "0.8"
  - "0.10"
  - "0.12"
  - "4.2"
  - "5"

sudo: false

cache:
  directories:
  - node_modules

before_install:
  - npm config set strict-ssl false
  # use a more modern npm than ships with 0.8
  - 'if [ "x$TRAVIS_NODE_VERSION" = "x0.8" ]; then npm install -g npm@1.4; fi'

before_script:
  # we only need to run eslint once per build, so let's conserve a few resources
  - 'if [ "x$TRAVIS_NODE_VERSION" = "x0.12" ]; then $(npm bin)/eslint .; fi'

script:
  - ./scripts/ci-test.sh

git:
  depth: 10

language: node_js
node_js:
  - "0.12"
  # LTS release per February 2016
  - "4.3"
  - "5"

sudo: false

cache:
  directories:
  - node_modules

before_install:
  - npm config set strict-ssl false

before_script:
  # we only need to run eslint once per build, so let's conserve a few resources
  - 'if [ "x$TRAVIS_NODE_VERSION" = "x0.12" ]; then $(npm bin)/eslint .; fi'

script:
  - ./scripts/ci-test.sh

git:
  depth: 10

Update Node versions on Travis
Update Node versions on Travis

Removing 0.8 and 0.10 versions of Node. We only need 0.12
and 0.8 was giving us grief in the builds. Changing version
4.2 of Node for version 4.3 due to security advise. More info:
https://nodejs.org/en/blog/vulnerability/february-2016-security-releases/
