Skip to content

Commit 3fe9d4f

Browse files
author
Eugene Leonovich
committed
Fix after_script
1 parent ebf0b4b commit 3fe9d4f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ script:
2323
- docker run --rm --name queue --link tarantool -v $(pwd):/queue -w /queue -e PHPUNIT_OPTS="$PHPUNIT_OPTS" queue
2424

2525
after_script:
26-
- docker run --rm --name queue -v $(pwd):/queue -w /queue queue bash -c "if [[ -f coverage.clover ]]; then
27-
curl -sSOL https://scrutinizer-ci.com/ocular.phar &&
28-
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
29-
fi"
26+
- docker run --rm --name queue -v $(pwd):/queue -w /queue queue bash -c "
27+
if [[ -f coverage.clover ]]; then
28+
curl -sSOL https://scrutinizer-ci.com/ocular.phar &&
29+
php ocular.phar code-coverage:upload --format=php-clover coverage.clover;
30+
fi
31+
"

0 commit comments

Comments
 (0)