8000 Merge branch '5.0' · symfony/symfony@c5bf92d · GitHub
[go: up one dir, main page]

Skip to content

Commit c5bf92d

Browse files
Merge branch '5.0'
* 5.0: [travis][appveyor] don't cache .phpunit
2 parents d1fd0b1 + 82ea28d commit c5bf92d

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.appveyor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ clone_folder: c:\projects\symfony
44

55
cache:
66
- composer.phar
7-
- .phpunit -> phpunit
87

98
init:
109
- SET PATH=c:\php;%PATH%

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ matrix:
3636

3737
cache:
3838
directories:
39-
- .phpunit
4039
- php-$MIN_PHP
4140
- ~/php-ext
4241

@@ -304,7 +303,9 @@ install:
304303
305304
if [[ !$deps && $PHP = 7.2 ]]; then
306305
phpenv global $PHP
307-
tfold src/Symfony/Component/HttpClient.h2push "$COMPOSER_UP symfony/contracts && ./phpunit install && docker run -it --rm -v $(pwd):/app -v $(phpenv which composer):/usr/local/bin/composer -v /usr/local/bin/vulcain:/usr/local/bin/vulcain -w /app php:7.3-alpine ./phpunit src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php --filter testHttp2Push"
306+
tfold 'composer update' $COMPOSER_UP
307+
tfold 'phpunit install' ./phpunit install
308+
tfold src/Symfony/Component/HttpClient.h2push "docker run -it --rm -v $(pwd):/app -v /usr/local/bin/vulcain:/usr/local/bin/vulcain -w /app php:7.3-alpine ./phpunit src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php --filter testHttp2Push"
308309
fi
309310
310311
if [[ $PHP != 7.4* && $PHP != $TRAVIS_PHP_VERSION && $TRAVIS_PULL_REQUEST != false ]]; then
@@ -313,8 +314,12 @@ install:
313314
fi
314315
315316
([[ $deps ]] && cd src/Symfony/Component/HttpFoundation; cp composer.json composer.bak; composer config platform.ext-mongodb 1.6.0; composer require --dev --no-update mongodb/mongodb ~1.5.0)
316-
tfold 'composer update' $COMPOSER_UP
317-
tfold 'phpunit install' ./phpunit install
317+
318+
if [[ $deps || $PHP != 7.2 ]]; then
319+
tfold 'composer update' $COMPOSER_UP
320+
tfold 'phpunit install' ./phpunit install
321+
fi
322+
318323
if [[ $deps = high ]]; then
319324
echo "$COMPONENTS" | parallel --gnu "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'" || X=1
320325
(cd src/Symfony/Component/HttpFoundation; mv composer.bak composer.json)

phpunit

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/usr/bin/env php
22
<?php
33

4-
// Cache-Id: 2020-04-10 20:30 UTC
5-
64
if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
75
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\nPlease run `composer update` before running this command.\n";
86
exit(1);

0 commit comments

Comments
 (0)
0