Skip to content

Commit f1abee4

Browse files
committed
do not use phpunit.phar against a package whose deps are in that phar
1 parent abe3096 commit f1abee4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.travis.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ matrix:
1212
install:
1313
- travis_retry composer install --no-interaction --prefer-dist --optimize-autoloader
1414
- travis_retry wget https://phar.io/releases/phive.phar
15-
- travis_retry php phive.phar --no-progress install --trust-gpg-keys 4AA394086372C20A phpunit
16-
- echo "tests won't work from phpunit.phar, because some of this package's deps are in that phar..."
17-
- travis_retry composer require --dev phpunit/phpunit
15+
- travis_retry composer require --dev phpunit/phpunit # cannot trust phpunit.phar, because of reflection-docblock in that phar..."
1816

1917
script:
2018
- ./vendor/bin/phpunit --no-coverage
@@ -23,9 +21,6 @@ jobs:
2321
include:
2422
- stage: coverage
2523
php: 7.1
26-
before_script:
27-
- echo "code coverage won't work from phpunit.phar, because some of this package's deps are in that phar..."
28-
- travis_retry composer require --dev phpunit/phpunit
2924
script:
3025
- ./vendor/bin/phpunit
3126
after_script:

0 commit comments

Comments
 (0)