language: php
php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - nightly

addons:
  firefox: latest
  chrome: stable

before_script:
  - 'php -S 127.0.0.1:8080 &'
  - 'nvm install stable'
  - 'npm install nightwatch selenium-server chromedriver geckodriver'

script:
  - 'node_modules/.bin/nightwatch -e chrome-headless'
  - 'node_modules/.bin/nightwatch -e firefox-headless'

language: php
php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - nightly

addons:
  firefox: latest
  chrome: stable

before_script:
  - 'php -S 127.0.0.1:8080 &'
  - 'nvm install stable'
  - 'npm install nightwatch selenium-server chromedriver geckodriver'

script:
# - 'node_modules/.bin/nightwatch -e chrome-headless'
  - 'node_modules/.bin/nightwatch -e firefox-headless'

Disable Chrome tests due to Nightwatch.js issues:
Disable Chrome tests due to Nightwatch.js issues:

See: https://github.com/nightwatchjs/nightwatch/issues/2149
