E601 Fold by composer/phpunit process · symfony/symfony@e26c596 · GitHub
[go: up one dir, main page]

Skip to content

Commit e26c596

Browse files
committed
Fold by composer/phpunit process
1 parent d6c8bfb commit e26c596

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ install:
8484
- if [[ ! $skip && ! $PHP = hhvm* ]]; then php -i; else hhvm --php -r 'print_r($_SERVER);print_r(ini_get_all());'; fi
8585

8686
script:
87-
- FOLD_START='FOLD=$(echo "{}"|tr / .); echo -e "travis_fold:start:$FOLD\\n"; '
88-
- FOLD_END=' if [ $? -eq 0 ]; then echo -e "travis_fold:end:$FOLD\\n"; else $(exit $?); fi'
87+
- FOLD_START='echo -e "travis_fold:start:$FOLD\\n"'
88+
- FOLD_END='echo -e "travis_fold:end:$FOLD\\n"'
8989
- if [[ $skip ]]; then echo -e "\\n\\e[1;34mIntermediate PHP version $PHP is skipped for pull requests.\\e[0m"; fi
90-
- if [[ ! $deps && ! $PHP = hhvm* ]]; then echo "$COMPONENTS" | parallel --gnu $FOLD_START'$PHPUNIT --exclude-group tty,benchmark,intl-data {};'$FOLD_END; fi
90+
- if [[ ! $deps && ! $PHP = hhvm* ]]; then echo "$COMPONENTS" | parallel --gnu 'FOLD=$(echo "{}.PHPUnit"|tr / .); '$FOLD_START'; $PHPUNIT --exclude-group tty,benchmark,intl-data {} && '$FOLD_END; fi
9191
- if [[ ! $deps && ! $PHP = hhvm* ]]; then echo -e "\\nRunning tests requiring tty"; $PHPUNIT --group tty; fi
9292
- if [[ ! $deps && $PHP = hhvm* ]]; then $PHPUNIT --exclude-group benchmark,intl-data; fi
9393
- if [[ ! $deps && $PHP = ${MIN_PHP%.*} ]]; then echo -e "1\\n0" | xargs -I{} sh -c 'echo "\\nPHP --enable-sigchild enhanced={}" && ENHANCE_SIGCHLD={} php-$MIN_PHP/sapi/cli/php .phpunit/phpunit-4.8/phpunit --colors=always src/Symfony/Component/Process/'; fi
94-
- if [[ $deps = high ]]; then echo "$COMPONENTS" | parallel --gnu -j10% $FOLD_START'cd {}; composer update --no-progress --no-suggest --ansi 2>&1; $PHPUNIT --exclude-group tty,benchmark,intl-data$LEGACY;'$FOLD_END; fi
95-
- if [[ $deps = low ]]; then echo "$COMPONENTS" | parallel --gnu -j10% $FOLD_START'cd {}; composer update --no-progress --no-suggest --ansi --prefer-lowest --prefer-stable 2>&1; $PHPUNIT --exclude-group tty,benchmark,intl-data;'$FOLD_END; fi
94+
- if [[ $deps = high ]]; then echo "$COMPONENTS" | parallel --gnu -j10% 'FOLD=$(echo "{}.composer"|tr / .); '$FOLD_START'; cd {}; composer update --no-progress --no-suggest --ansi 2>&1 && '$FOLD_END'; FOLD=$(echo "{}.PHPUnit"|tr / .); '$FOLD_START'; $PHPUNIT --exclude-group tty,benchmark,intl-data$LEGACY && '$FOLD_END; fi
95+
- if [[ $deps = low ]]; then echo "$COMPONENTS" | parallel --gnu -j10% 'FOLD=$(echo "{}.composer"|tr / .); '$FOLD_START'; cd {}; composer update --no-progress --no-suggest --ansi --prefer-lowest --prefer-stable 2>&1 && '$FOLD_END'; FOLD=$(echo "{}.PHPUnit"|tr / .); '$FOLD_START'; $PHPUNIT --exclude-group tty,benchmark,intl-data && '$FOLD_END; fi

0 commit comments

Comments
 (0)
0