Skip to content

Commit abe3096

Browse files
committed
I think phpunit's reflection-docblock is interfering with our tests
1 parent 9b55160 commit abe3096

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ install:
1313
- travis_retry composer install --no-interaction --prefer-dist --optimize-autoloader
1414
- travis_retry wget https://phar.io/releases/phive.phar
1515
- 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
1618

1719
script:
18-
- ./tools/phpunit --no-coverage
20+
- ./vendor/bin/phpunit --no-coverage
1921

2022
jobs:
2123
include:

appveyor.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,11 @@ install:
4545
- IF NOT EXIST php-installed.txt echo assert.exception=On >> php.ini
4646
- IF NOT EXIST php-installed.txt appveyor DownloadFile https://getcomposer.org/composer.phar
4747
- IF NOT EXIST php-installed.txt echo @php %%~dp0composer.phar %%* > composer.bat
48-
- IF NOT EXIST php-installed.txt appveyor DownloadFile https://phar.phpunit.de/phpunit.phar
49-
- IF NOT EXIST php-installed.txt echo @php %%~dp0phpunit.phar %%* > phpunit.bat
5048
- IF NOT EXIST php-installed.txt type nul >> php-installed.txt
5149
- cd c:\typeresolver
5250
- composer install --no-interaction --prefer-dist --no-progress
51+
- composer require --dev phpunit/phpunit
5352

5453
test_script:
5554
- cd c:\typeresolver
56-
- phpunit --no-coverage
55+
- ./vendor/bin/phpunit --no-coverage

0 commit comments

Comments
 (0)