12345678910111213141516171819202122232425 |
- language: php
- sudo: false
- matrix:
- include:
- - php: 5.4
- - php: 5.5
- - php: 5.6
- env: COLLECT_COVERAGE=true
- - php: 7.0
- - php: 7.1
- - php: 7.2
- - php: hhvm
- dist: trusty
- install:
- - travis_retry composer install --no-interaction --prefer-source
- script:
- - if [[ "$COLLECT_COVERAGE" == "true" ]]; then vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover; else vendor/bin/phpunit --no-coverage; fi
- after_script:
- - if [[ "$COLLECT_COVERAGE" == "true" ]]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
|