sudo: false
language: node_js
node_js:
  - "0.10"
  - "0.12"
  - "4.2"
  - "5"
  - node

os:
  - linux
script: npm run-script test-all:cover
before_install:
  - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
  - test $TRAVIS_OS_NAME = "osx" && brew update && brew install phantomjs || test $TRAVIS_OS_NAME = "linux"
  - npm config set spin false
install:
  - node --version
  - npm --version
  - git --version
  - npm install --no-optional

after_script:
  - cat coverage/lcov.info | codeclimate
  - cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js

sudo: false
language: node_js
node_js:
  - "0.10"
  - "0.12"
  - "4"
  - "5"
  - node

os:
  - linux
script: npm run-script test-all:cover
before_install:
  - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
  - test $TRAVIS_OS_NAME = "osx" && brew update && brew install phantomjs || test $TRAVIS_OS_NAME = "linux"
  - npm config set spin false
install:
  - node --version
  - npm --version
  - git --version
  - npm install --no-optional

after_script:
  - cat coverage/lcov.info | codeclimate
  - cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js

Test current Node LTS (v4.x.x) from Travis.
Test current Node LTS (v4.x.x) from Travis.

The release of v4.3.0 as an LTS made our prior assumption that v4.2.x
was the LTS incorrect (oddly). This change unlocks us to test whatever
the current v4.x.x LTS in CI.

See https://github.com/nodejs/node/blob/v4.3.0/CHANGELOG.md.
