Skip to content

Commit

Permalink
Merge 34cd477 into ffbf91d
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanlaak committed Dec 2, 2019
2 parents ffbf91d + 34cd477 commit 7d54c2e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,20 @@ php:
- 7.1
- 7.2
- 7.3

env:
- APP_ENV=development CC_TEST_REPORTER_ID=efd18a36922628f0536f2f08cf7ceca763f5f2feb6f3638037381487ca3312ae

matrix:
include:
- env: COMPOSER_FLAGS="--prefer-lowest"
allow_failures:
- php: hhvm

install:
# use "update" instead of "install" since it allows using the "--prefer-lowest" option
- composer update $COMPOSER_FLAGS

before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source
Expand All @@ -16,8 +25,10 @@ before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build

script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml

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

0 comments on commit 7d54c2e

Please sign in to comment.