Skip to content

Commit 20d3398

Browse files
committed
Removing travis.ci
1 parent 3dcb139 commit 20d3398

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,11 @@ jobs:
3737
run: |
3838
pipenv install
3939
pipenv run python bin/ci.py --verbose --teardown
40+
41+
- name: Upload Scrutinizer coverage
42+
uses: sudo-bot/action-scrutinizer@latest
43+
# Do not run this step on forked versions of the main repository (example: contributor forks)
44+
if: github.repository == 'runopencodeexit/query-resources-loader-bundle'
45+
with:
46+
cli-args: "--format=php-clover build/logs/clover.xml --revision=${{ github.event.pull_request.head.sha || github.sha }}"
47+

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"bin": "echo 'bamarni/composer-bin-plugin is not installed.'",
5959
"phpunit": [
6060
"Composer\\Config::disableProcessTimeout",
61-
"XDEBUG_MODE=coverage vendor-bin/dev/vendor/bin/phpunit --coverage-html ./build/phpunit"
61+
"XDEBUG_MODE=coverage vendor-bin/dev/vendor/bin/phpunit --coverage-html ./build/phpunit --coverage-clover=./build/phpunit/clover.xml"
6262
],
6363
"composer-require-checker": "XDEBUG_MODE=off vendor-bin/dev/vendor/bin/composer-require-checker check composer.json --config-file=`pwd`/composer-require-checker.config.dist.json",
6464
"composer-unused": "XDEBUG_MODE=off vendor-bin/dev/vendor/bin/composer-unused --excludeDir=build --excludeDir=tools",

0 commit comments

Comments
 (0)