language: php
php:
 - '5.4'
 - '5.6'
 - '7.0'
node_js:
 - '4.1.1'
install:
 - npm install
script:
 - npm run compile
 - npm test
sudo: false

language: php
php:
 - '5.4'
 - '5.6'
 - '7.0'
before_install:
 - nvm install 4.1.1
 - nvm use 4.1.1
install:
 - npm install
script:
 - npm run compile --silent
 - npm test --silent
sudo: false

Use nvm to install Node on Travis
Use nvm to install Node on Travis
