Revert "[travis][appveyor] don't cache .phpunit"
This reverts commit 5182253aa2
.
This commit is contained in:
parent
4e6a3bddf5
commit
966989a2b9
|
@ -4,6 +4,7 @@ clone_folder: c:\projects\symfony
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- composer.phar
|
- composer.phar
|
||||||
|
- .phpunit -> phpunit
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- SET PATH=c:\php;%PATH%
|
- SET PATH=c:\php;%PATH%
|
||||||
|
|
|
@ -33,6 +33,7 @@ matrix:
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
- .phpunit
|
||||||
- php-$MIN_PHP
|
- php-$MIN_PHP
|
||||||
- ~/php-ext
|
- ~/php-ext
|
||||||
|
|
||||||
|
|
2
phpunit
2
phpunit
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/env php
|
#!/usr/bin/env php
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
// Cache-Id: 2020-04-10 20:30 UTC
|
||||||
|
|
||||||
if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
|
if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
|
||||||
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\nPlease run `composer update` before running this command.\n";
|
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\nPlease run `composer update` before running this command.\n";
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Reference in New Issue