language: php

php:
  - 7.0

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

script:
  - phpunit --configuration ./.travis.phpunit.xml

after_success:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover clover.xml

notifications:
  email: false

language: php

php:
  - 7.0
  - 5.6
  - 5.5

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

script:
  - phpunit --configuration ./.travis.phpunit.xml

after_success:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover clover.xml

notifications:
  email: false

Use TravisCU to run test suite on PHP 5.5 and 5.6
Use TravisCU to run test suite on PHP 5.5 and 5.6
