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

Commit 7e1b2f4

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

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.travis.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@ services:
2626

2727
before_script:
2828
# Extensions: ext-uopz
29-
- echo "TRAVIS_PHP_VERSION == $TRAVIS_PHP_VERSION"
3029
- if [ "$TRAVIS_PHP_VERSION" = "7.1" ] ; then pecl install uopz ; fi
3130
- if [ "$TRAVIS_PHP_VERSION" = "7.2" ] ; then pecl install uopz ; fi
32-
- if [ "$TRAVIS_PHP_VERSION" = "7.3" ] ; then wget -O $TRAVIS_BUILD_DIR/uopz-5.0.2.tgz https://pecl.php.net/get/uopz-5.0.2.tgz ; fi
33-
- if [ "$TRAVIS_PHP_VERSION" = "7.3" ] ; then tar xvf $TRAVIS_BUILD_DIR/uopz-5.0.2.tgz ; fi
34-
- if [ "$TRAVIS_PHP_VERSION" = "7.3" ] ; then mv $TRAVIS_BUILD_DIR/uopz-5.0.2 $TRAVIS_BUILD_DIR/ext-uopz ; fi
35-
- if [ "$TRAVIS_PHP_VERSION" = "7.3" ] ; then wget -O $TRAVIS_BUILD_DIR/ext-uopz/php73.patch https://gist.githubusercontent.com/cmb69/3060a552fc825497d066262ab31f3998/raw/428c0aee7d77b6c37ea3757bbc8b86cfc390d7ca/0001-Update-for-PHP-7.3.patch ; fi
36-
- if [ "$TRAVIS_PHP_VERSION" = "7.3" ] ; then cd $TRAVIS_BUILD_DIR/ext-uopz && patch -p1 < php73.patch && phpize && ./configure && make && make install ; fi
31+
# - if [ "$TRAVIS_PHP_VERSION" = "7.3" ] ; then wget -O $TRAVIS_BUILD_DIR/uopz-5.0.2.tgz https://pecl.php.net/get/uopz-5.0.2.tgz ; fi
32+
# - if [ "$TRAVIS_PHP_VERSION" = "7.3" ] ; then tar xvf $TRAVIS_BUILD_DIR/uopz-5.0.2.tgz ; fi
33+
# - if [ "$TRAVIS_PHP_VERSION" = "7.3" ] ; then mv $TRAVIS_BUILD_DIR/uopz-5.0.2 $TRAVIS_BUILD_DIR/ext-uopz ; fi
34+
# - if [ "$TRAVIS_PHP_VERSION" = "7.3" ] ; then wget -O $TRAVIS_BUILD_DIR/ext-uopz/php73.patch https://gist.githubusercontent.com/cmb69/3060a552fc825497d066262ab31f3998/raw/428c0aee7d77b6c37ea3757bbc8b86cfc390d7ca/0001-Update-for-PHP-7.3.patch ; fi
35+
# - if [ "$TRAVIS_PHP_VERSION" = "7.3" ] ; then cd $TRAVIS_BUILD_DIR/ext-uopz && patch -p1 < php73.patch && phpize && ./configure && make && make install ; fi
3736
# Tests: Code Climate
3837
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
3938
- chmod +x ./cc-test-reporter
@@ -66,7 +65,8 @@ script:
6665
- vendor/bin/phpunit --coverage-clover "$LOG"
6766

6867
after_script:
69-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
68+
- export COVERAGE_FILE="$LOG"
69+
- ./cc-test-reporter after-build --coverage-input-type clover --exit-code $TRAVIS_TEST_RESULT
7070

7171
after_success:
7272
- vendor/bin/test-reporter

0 commit comments

Comments
 (0)