language: php

sudo: false

matrix:
  include:
    - php: 5.4
    - php: 5.5
    - php: 5.6
    - php: 7.0
    - php: nightly
  allow_failures:
    - php: nightly
  fast_finish: true

before_install:
  - composer self-update
  - if [[ $TRAVIS_PHP_VERSION = 5.4 ]]; then composer update; fi;

install: composer install

before_script:
  - ssh-keygen -q -f ~/.ssh/id_rsa -N ""
  - cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys
  - eval $(ssh-agent)
  - ssh-add ~/.ssh/id_rsa
  - mkdir -p build/logs

script: vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script: vendor/bin/coveralls -v

language: php

sudo: false

matrix:
  include:
    - php: 5.5
    - php: 5.6
    - php: 7.0
    - php: nightly
  allow_failures:
    - php: nightly
  fast_finish: true

before_install: composer self-update

install: composer install

before_script:
  - ssh-keygen -q -f ~/.ssh/id_rsa -N ""
  - cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys
  - eval $(ssh-agent)
  - ssh-add ~/.ssh/id_rsa
  - mkdir -p build/logs

script: vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script: vendor/bin/coveralls -v

Remove PHP 5.4 from Travis CI configuration
Remove PHP 5.4 from Travis CI configuration
