language: php

matrix:
  allow_failures:
    - php: 5.6
    - php: 7.0
    - php: hhvm

  include:
    - php: 5.3
      dist: precise
    - php: 5.4
    - php: 5.5
    - php: 5.6
    - php: 7.0
    - php: hhvm

before_script:
  - travis_retry composer self-update
  - travis_retry composer install --no-interaction --prefer-source

script:
  - phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
  - php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover

language: php

matrix:
  allow_failures:
    - php: 5.6
    - php: 7.0
    - php: hhvm

  include:
    - php: 5.5
    - php: 5.6
    - php: 7.0
    - php: hhvm

before_script:
  - travis_retry composer self-update
  - travis_retry composer install --no-interaction --prefer-source

script:
  - phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
  - php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover

Remove Travis build for PHP 5.3 and 5.4
Remove Travis build for PHP 5.3 and 5.4
