From 0fcd45ae82be5817f4b3ad25bc8955968f355412 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Thu, 13 Jul 2017 20:20:37 +0200 Subject: [PATCH] travis: simplified --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b19bd8c..14f42b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,15 +28,15 @@ before_script: # Install Nette Tester & Code Checker - travis_retry composer install --no-interaction --prefer-dist - travis_retry composer create-project nette/code-checker code-checker ~2.5 --no-interaction - - if [ "$coverage" == "on" ]; then coverageArgs="-p phpdbg --coverage ./coverage.xml --coverage-src ./src"; fi + - if [ "$coverage" ]; then coverageArgs="-p phpdbg --coverage ./coverage.xml --coverage-src ./src"; fi after_script: # Report Code Coverage - > - if [ "$coverage" == "on" ]; then + if [ "$coverage" ]; then wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar - && php coveralls.phar --verbose --config tests/.coveralls.yml - || true; fi + && php coveralls.phar --verbose --config tests/.coveralls.yml; + fi sudo: false