language: php

php:
  - 5.5
  - 5.6
  - 7.0

matrix:
  allow_failures:
    - php: 7.0

install: travis_retry composer install --prefer-source --no-interaction

before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - wget http://selenium-release.storage.googleapis.com/2.43/selenium-server-standalone-2.43.1.jar
  - java -jar selenium-server-standalone-2.43.1.jar -port 4444 &
  - chmod +x ./ci_script

script: ./ci_script

language: php

php:
  - 5.5
  - 5.6
  - 7.0

matrix:
  allow_failures:
    - php: 7.0

install: travis_retry composer install --prefer-source --no-interaction

before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - wget http://selenium-release.storage.googleapis.com/2.47/selenium-server-standalone-2.47.1.jar
  - java -jar selenium-server-standalone-2.47.1.jar -port 4444 &
  - chmod +x ./ci_script

script: ./ci_script

Use Selenium 2.47.1 to fix Travis CI builds
Use Selenium 2.47.1 to fix Travis CI builds

Because Firefox 38 (from Travis CI Ubuntu image) doesn't work correctly with Selenium 2.43.1