File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ test_script:
63
63
- SET X=0
64
64
- cd c:\php && copy /Y php.ini-min php.ini
65
65
- cd c:\projects\symfony
66
+ - IF %APPVEYOR_REPO_BRANCH% neq master (rm -Rf src\Symfony\Bridge\PhpUnit)
66
67
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
67
68
- cd c:\php && 7z x php-5.5.9-nts-Win32-VC11-x86.zip -y >nul && copy /Y php.ini-min php.ini
68
69
- cd c:\projects\symfony
Original file line number Diff line number Diff line change @@ -224,6 +224,12 @@ install:
224
224
SYMFONY_VERSION=$(cat composer.json | grep '^ *"dev-master". *"[1-9]' | grep -o '[0-9.]*')
225
225
fi
226
226
227
+ - |
228
+ # Skip the phpunit-bridge on not-master branches when $deps is empty
229
+ if [[ ! $deps && $TRAVIS_BRANCH != master ]]; then
230
+ COMPONENTS=$(find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist -not -wholename '*/Bridge/PhpUnit/*' -printf '%h\n')
231
+ fi
232
+
227
233
- |
228
234
# Install symfony/flex
229
235
if [[ $deps = low ]]; then
@@ -271,6 +277,7 @@ install:
271
277
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && ([ -e composer.lock ] && ${COMPOSER_UP/update/install} || $COMPOSER_UP --prefer-lowest --prefer-stable) && $PHPUNIT_X'"
272
278
echo "$COMPONENTS" | xargs -n1 -I{} tar --append -f ~/php-ext/composer-lowest.lock.tar {}/composer.lock
273
279
elif [[ $PHP = hhvm* ]]; then
280
+ rm src/Symfony/Bridge/PhpUnit -Rf
274
281
$PHPUNIT --exclude-group no-hhvm,benchmark,intl-data
275
282
else
276
283
echo "$COMPONENTS" | parallel --gnu "tfold {} $PHPUNIT_X {}"
You can’t perform that action at this time.
0 commit comments