Skip to content

Commit 43cf888

Browse files
committed
Simplify installing PCOV
1 parent 8527c11 commit 43cf888

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.travis.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,7 @@ jobs:
119119
- composer require --dev --no-update phpunit/phpunit:^8
120120

121121
# Install PCOV
122-
- |
123-
git clone --single-branch --branch=v1.0.6 --depth=1 https://github.com/krakjoe/pcov
124-
cd pcov
125-
phpize
126-
./configure
127-
make clean install
128-
echo "extension=pcov.so" > $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/etc/conf.d/pcov.ini
129-
cd $TRAVIS_BUILD_DIR
122+
- pecl install pcov
130123
before_script:
131124
# Make code compatible with PHPUnit 8
132125
- PHP_CS_FIXER_FUTURE_MODE=1 php php-cs-fixer fix --rules=void_return -q tests || return 0

0 commit comments

Comments
 (0)