language: php

php:
 - '5.4'
 - '5.6'
 - '7.0'

env:
  matrix:
    - XDEBUG_VERSION=stable
    - XDEBUG_VERSION=2.3.3
    - XDEBUG_VERSION=2.2.3 # XDebug version on Vagrant

matrix:
  exclude:
    - env: XDEBUG_VERSION=2.3.3
      php: '7.0'
    - env: XDEBUG_VERSION=2.2.7
      php: '7.0'

before_install:
 - pecl install xdebug-$XDEBUG_VERSION
 - phpenv config-add travis-php.ini
 - nvm install 5.10.0
 - nvm use 5.10.0
 - npm config -g set progress false

install:
 - npm install

script:
 - npm run compile --silent
 - npm run lint --silent
 - npm test --silent

sudo: false

language: php

php:
 - '5.4'
 - '5.6'
 - '7.0'

env:
  matrix:
    - XDEBUG_VERSION=2.4.0
    - XDEBUG_VERSION=2.3.3
    - XDEBUG_VERSION=2.2.3 # XDebug version on Vagrant

matrix:
  exclude:
    - env: XDEBUG_VERSION=2.3.3
      php: '7.0'
    - env: XDEBUG_VERSION=2.2.7
      php: '7.0'

before_install:
 - pecl install xdebug-$XDEBUG_VERSION
 - phpenv config-add travis-php.ini
 - nvm install 5.10.0
 - nvm use 5.10.0
 - npm config -g set progress false

install:
 - npm install

script:
 - npm run compile --silent
 - npm run lint --silent
 - npm test --silent

sudo: false

Use exact latest version in Travis
Use exact latest version in Travis
