File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ language: php
2+
3+ php:
4+ - 7.2
5+
6+ before_script:
7+ - composer config -g github-oauth.github.com $GITHUB_ACCESS_TOKEN
8+ - composer self-update
9+ - composer require codeclimate/php-test-reporter --dev
10+ - composer install --prefer-dist --no-interaction
11+
12+
13+ after_script:
14+ - vendor/bin/test-reporter
15+
16+ after_script:
17+ - vendor/bin/test-reporter --stdout > codeclimate.json
18+ - "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v1.0.1-dev)' https://codeclimate.com/test_reports"
Original file line number Diff line number Diff line change 2727 <directory suffix =" .php" >src</directory >
2828 </whitelist >
2929 </filter >
30+
31+ <logging >
32+ <log type =" coverage-clover" target =" build/logs/clover.xml" />
33+ <log type =" coverage-text" target =" php://stdout" />
34+ </logging >
3035</phpunit >
You can’t perform that action at this time.
0 commit comments