Skip to content

Commit 657c9fb

Browse files
committed
do not use phpunit.phar against a package that is itself in that phar
1 parent cd45716 commit 657c9fb

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,15 @@ 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
15+
- travis_retry composer require --dev phpunit/phpunit # cannot trust phpunit.phar, because this package is itself in that phar..."
1616

1717
script:
18-
- ./tools/phpunit --no-coverage
18+
- ./vendor/bin/phpunit --no-coverage
1919

2020
jobs:
2121
include:
2222
- stage: coverage
2323
php: 7.1
24-
before_script:
25-
- echo "code coverage won't work from phpunit.phar, because this package is itself in that phar..."
26-
- travis_retry composer require --dev phpunit/phpunit
2724
script:
2825
- ./vendor/bin/phpunit
2926
after_script:

0 commit comments

Comments
 (0)