language: php

php:
  - 5.3
  - 5.6

env:
  - TRAVIS_NODE_VERSION="0.12"
  - TRAVIS_NODE_VERSION="4"

install:
  - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
  - npm install

script: npm test

language: php

php:
  - 5.3
  - 5.6

env:
  - TRAVIS_NODE_VERSION="6.9.1"
  - TRAVIS_NODE_VERSION="8"

install:
  - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
  - npm install

script: npm test

Update the node versions to test again in the Travis CI config.
Update the node versions to test again in the Travis CI config.
