From d94cedb6483dea44cb6376ab8a35727fefbd8da6 Mon Sep 17 00:00:00 2001 From: Asmir Mustafic Date: Sat, 9 May 2015 10:53:22 +0200 Subject: If bash syntax --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ae4696b..d6ad971 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,6 @@ script: - ./vendor/bin/phpunit --coverage-clover=coverage.xml after_script: - - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; wget https://scrutinizer-ci.com/ocular.phar; fi;' - - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.xml; fi;' + - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.6" ] ; then wget https://scrutinizer-ci.com/ocular.phar; fi;' + - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.6" ] ; then php ocular.phar code-coverage:upload --format=php-clover coverage.xml; fi;' -- cgit v1.2.3