File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,11 @@ install:
13
13
- travis_retry composer install --no-interaction --prefer-dist --optimize-autoloader
14
14
- travis_retry wget https://phar.io/releases/phive.phar
15
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
16
18
17
19
script :
18
- - ./tools /phpunit --no-coverage
20
+ - ./vendor/bin /phpunit --no-coverage
19
21
20
22
jobs :
21
23
include :
Original file line number Diff line number Diff line change @@ -45,12 +45,11 @@ install:
45
45
- IF NOT EXIST php-installed.txt echo assert.exception=On >> php.ini
46
46
- IF NOT EXIST php-installed.txt appveyor DownloadFile https://getcomposer.org/composer.phar
47
47
- 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
50
48
- IF NOT EXIST php-installed.txt type nul >> php-installed.txt
51
49
- cd c:\typeresolver
52
50
- composer install --no-interaction --prefer-dist --no-progress
51
+ - composer require --dev phpunit/phpunit
53
52
54
53
test_script :
55
54
- cd c:\typeresolver
56
- - phpunit --no-coverage
55
+ - ./vendor/bin/ phpunit --no-coverage
You can’t perform that action at this time.
0 commit comments