language: php
php:
  - 7.0
  - nightly
  - hhvm
matrix:
  allow_failures:
    - php: hhvm
sudo: false
install: travis_retry composer install --no-interaction --prefer-source
script: phpunit
after_script: wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/coverage/coverage.clover

language: php
php:
  - 7.0
  - 7.1
  - nightly
  - hhvm
matrix:
  allow_failures:
    - php: hhvm
    - php: nightly
sudo: false
install: travis_retry composer install --no-interaction --prefer-source
script: phpunit
after_script: wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/coverage/coverage.clover

Allow nightly to fail, add 7.1
Allow nightly to fail, add 7.1
