Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Commit 70d9a9d

Browse files
committed
disabling unit test coverage reports for PHP 7.3 (ext-uopz not compatible yet)
1 parent 7e1b2f4 commit 70d9a9d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.travis.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,11 @@ script:
5959
- if [ "$LARAVEL" = "57" ] ; then composer require "orchestra/testbench:3.7.*" --no-update ; fi
6060
# Packages: Update
6161
- composer update --prefer-source --no-interaction
62-
# Tests: Configure
63-
- if [ "$LARAVEL" = "" ] ; then export LOG="build/logs/clover.xml" ; else export LOG="build/logs/clover-$LARAVEL.xml" ; fi
6462
# Tests: Run
65-
- vendor/bin/phpunit --coverage-clover "$LOG"
63+
- vendor/bin/phpunit --coverage-clover "$TRAVIS_BUILD_DIR/build/logs/clover.xml"
6664

6765
after_script:
68-
- export COVERAGE_FILE="$LOG"
69-
- ./cc-test-reporter after-build --coverage-input-type clover --exit-code $TRAVIS_TEST_RESULT
66+
- ./cc-test-reporter after-build --coverage-input-type clover --prefix "$TRAVIS_BUILD_DIR" --exit-code $TRAVIS_TEST_RESULT
7067

7168
after_success:
7269
- vendor/bin/test-reporter

0 commit comments

Comments
 (0)