From ffc4df6195031324a23f6facc2a7e345cc092ea3 Mon Sep 17 00:00:00 2001 From: sgiehl Date: Sun, 12 Oct 2014 02:02:45 +0200 Subject: [PATCH] small fix --- .travis.yml | 4 ++-- plugins/CoreConsole/templates/travis.yml.twig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1c2c5db858c..81092082ae8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -113,7 +113,7 @@ install: - git checkout master -- ./tests/travis ./plugins/CoreConsole || true before_script: - - if [ -z "$TEST_SUITE" ]; + - if ([ -z "$TEST_SUITE" ] || [ -n "$PLUGIN_NAME" ]); then composer require satooshi/php-coveralls dev-master; fi @@ -165,7 +165,7 @@ after_script: # change directory back to root travis dir - cd $PIWIK_ROOT_DIR - - if [ -z "$TEST_SUITE" ]; + - if ([ -z "$TEST_SUITE" ] || [ -n "$PLUGIN_NAME" ]); then php vendor/bin/coveralls -v; fi diff --git a/plugins/CoreConsole/templates/travis.yml.twig b/plugins/CoreConsole/templates/travis.yml.twig index 640c7bfd2a4..4a36b2aba02 100644 --- a/plugins/CoreConsole/templates/travis.yml.twig +++ b/plugins/CoreConsole/templates/travis.yml.twig @@ -131,7 +131,7 @@ before_script: {% if customTravisBuildSteps.before_script.before|default is not empty %}{{ customTravisBuildSteps.before_script.before|raw }} {% endif %} - - if [ -z "$TEST_SUITE" ]; + - if ([ -z "$TEST_SUITE" ] || [ -n "$PLUGIN_NAME" ]); then composer require satooshi/php-coveralls dev-master; fi @@ -193,7 +193,7 @@ after_script: # change directory back to root travis dir - cd $PIWIK_ROOT_DIR - - if [ -z "$TEST_SUITE" ]; + - if ([ -z "$TEST_SUITE" ] || [ -n "$PLUGIN_NAME" ]); then php vendor/bin/coveralls -v; fi