10000 Merge branch '4.4' into 5.0 · HeahDude/symfony@82ea28d · GitHub
[go: up one dir, main page]

Skip to content

Commit 82ea28d

Browse files
Merge branch '4.4' into 5.0
* 4.4: [travis][appveyor] don't cache .phpunit
2 parents 4a64cb6 + 0745ea4 commit 82ea28d

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
@@ -35,7 +35,6 @@ matrix:
3535

3636
cache:
3737
directories:
38-
- .phpunit
3938
- php-$MIN_PHP
4039
- ~/php-ext
4140

@@ -270,7 +269,9 @@ install:
270269
271270
if [[ !$deps && $PHP = 7.2 ]]; then
272271
phpenv global $PHP
273-
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"
272+
tfold 'composer update' $COMPOSER_UP
273+
tfold 'phpunit install' ./phpunit install
274+
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"
274275
fi
275276
276277
if [[ $PHP != 7.4* && $PHP != $TRAVIS_PHP_VERSION && $TRAVIS_PULL_REQUEST != false ]]; then
@@ -279,8 +280,12 @@ install:
279280
fi
280281
281282
([[ $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)
282-
tfold 'composer update' $COMPOSER_UP
283-
tfold 'phpunit install' ./phpunit install
283+
284+
if [[ $deps || $PHP != 7.2 ]]; then
285+
tfold 'composer update' $COMPOSER_UP
286+
tfold 'phpunit install' ./phpunit install
287+
fi
288+
284289
if [[ $deps = high ]]; then
285290
echo "$COMPONENTS" | parallel --gnu "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'" || X=1
286291
(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