File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ install:
285
285
(cd src/Symfony/Component/HttpFoundation; mv composer.bak composer.json)
286
286
COMPONENTS=$(git diff --name-only src/ | grep composer.json || true)
287
287
288
- if [[ $COMPONENTS && $LEGACY && $TRAVIS_PULL_REQUEST != false ]]; then
288
+ if [[ $COMPONENTS && $LEGACY && $TRAVIS_BRANCH != master && $ TRAVIS_PULL_REQUEST != false ]]; then
289
289
export FLIP='🙃'
290
290
SYMFONY_VERSION=$(echo $SYMFONY_VERSION | awk '{print $1 - 1}')
291
291
echo -e "\\n\\e[33;1mChecking out Symfony $SYMFONY_VERSION and running tests with patched components as deps\\e[0m"
@@ -309,7 +309,7 @@ install:
309
309
else
310
310
if [[ $PHP = 7.4* ]]; then
311
311
# add return types before running the test suite
312
- rm vendor/symfony/contracts -Rf
312
+ rm src/Symfony/Contract -Rf && mv vendor/symfony/contracts src/Symfony/Contract
313
313
ln -sd $(realpath src/Symfony/Contracts) vendor/symfony/contracts
314
314
sed -i 's/"\*\*\/Tests\/"//' composer.json
315
315
composer install --optimize-autoloader
You can’t perform that action at this time.
0 commit comments