language: php

php:
  - 7.0
  - 7.1

install:
  - travis_retry composer update

script:
  - vendor/bin/phpunit --coverage-text --coverage-clover coverage.xml

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

language: php

php:
  - 7.0
  - 7.1

install:
  - travis_retry composer update

script:
  - vendor/bin/phpunit --coverage-text --coverage-clover coverage.xml

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

matrix:
    allow_failures:
        - php: 7.1

Allow php 7.1 to fail for now
Allow php 7.1 to fail for now
