Skip to content

Commit 3bcf2bc

Browse files
committed
Fix JS CS
1 parent 72f5de5 commit 3bcf2bc

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

brigade.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ const coverage = (event, project) => {
66
const job = new Job('coverage', 'php:rc-alpine');
77

88
job.tasks = [
9-
`set -xe`,
10-
`apk add --no-cache curl git openssl icu-libs zlib icu-dev zlib-dev $PHPIZE_DEPS`,
11-
`docker-php-ext-install intl zip`,
12-
`echo "memory_limit=-1" > $PHP_INI_DIR/conf.d/memory-limit.ini`,
13-
`curl -s -f -L -o /tmp/installer.php https://getcomposer.org/installer`,
14-
`curl -s -f -L -o /tmp/install.sig https://composer.github.io/installer.sig`,
9+
'set -xe',
10+
'apk add --no-cache curl git openssl icu-libs zlib icu-dev zlib-dev $PHPIZE_DEPS',
11+
'docker-php-ext-install intl zip',
12+
'echo "memory_limit=-1" > $PHP_INI_DIR/conf.d/memory-limit.ini',
13+
'curl -s -f -L -o /tmp/installer.php https://getcomposer.org/installer',
14+
'curl -s -f -L -o /tmp/install.sig https://composer.github.io/installer.sig',
1515
`php -r "
1616
\\$signature = trim(file_get_contents('/tmp/install.sig'));
1717
\\$hash = hash('SHA384', file_get_contents('/tmp/installer.php'));
@@ -24,18 +24,18 @@ const coverage = (event, project) => {
2424
exit(1);
2525
}
2626
"`,
27-
`php /tmp/installer.php --no-ansi --install-dir=/usr/bin --filename=composer`,
28-
`curl -s -f -L -o /usr/bin/phpcov https://phar.phpunit.de/phpcov.phar`,
29-
`curl -s -f -L -o /usr/bin/coveralls https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar`,
30-
`chmod 755 /usr/bin/phpcov /usr/bin/coveralls`,
31-
`cd /src/`,
32-
`mkdir -p build/logs build/cov`,
33-
`composer require --dev --no-update 'phpunit/php-code-coverage:^5.2.2'`,
34-
`composer update --prefer-dist --no-progress --no-suggest --ansi`,
35-
`phpdbg -qrr vendor/bin/phpunit --coverage-php build/cov/coverage-phpunit.cov`,
36-
`for f in $(find features -name '*.feature'); do FEATURE=\${f//\\//_} phpdbg -qrr vendor/bin/behat --format=progress --profile coverage $f || exit $?; done`,
37-
`phpdbg -qrr $(which phpcov) merge --clover build/logs/clover.xml build/cov;`,
38-
`coveralls -v`,
27+
'php /tmp/installer.php --no-ansi --install-dir=/usr/bin --filename=composer',
28+
'curl -s -f -L -o /usr/bin/phpcov https://phar.phpunit.de/phpcov.phar',
29+
'curl -s -f -L -o /usr/bin/coveralls https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar',
30+
'chmod 755 /usr/bin/phpcov /usr/bin/coveralls',
31+
'cd /src/',
32+
'mkdir -p build/logs build/cov',
33+
'composer require --dev --no-update \'phpunit/php-code-coverage:^5.2.2\'',
34+
'composer update --prefer-dist --no-progress --no-suggest --ansi',
35+
'phpdbg -qrr vendor/bin/phpunit --coverage-php build/cov/coverage-phpunit.cov',
36+
'for f in $(find features -name \'*.feature\'); do FEATURE=${f//\\//_} phpdbg -qrr vendor/bin/behat --format=progress --profile coverage $f || exit $?; done',
37+
'phpdbg -qrr $(which phpcov) merge --clover build/logs/clover.xml build/cov;',
38+
'coveralls -v',
3939
];
4040

4141
job.env = {

0 commit comments

Comments
 (0)