language: php

php:
  - 5.5
  - 5.6
  - 7.0

matrix:
  allow_failures:
    - php: 5.5
    - 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.53/selenium-server-standalone-2.53.1.jar
  - java -jar selenium-server-standalone-2.53.1.jar -port 4444 &
  - chmod +x ./ci_script

script: ./ci_script

language: php

php:
  - 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.53/selenium-server-standalone-2.53.1.jar
  - java -jar selenium-server-standalone-2.53.1.jar -port 4444 &
  - chmod +x ./ci_script

script: ./ci_script

Remove PHP 5.5 from Travis CI
Remove PHP 5.5 from Travis CI

Because Laravel 5.3 supports only PHP >= 5.6
