Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2014-10-12 15:20:20 +0400
committersgiehl <stefan@piwik.org>2014-10-12 15:20:20 +0400
commit1bb3926e7123dcb8ff61a676665078ac4ae53d02 (patch)
treea4bd225b7777e7782df13542290d72801667c6c5 /tests/travis
parentfe73ae8d61658c8a29ef9e91840c4633e42a9ff6 (diff)
small adjustment to plugin coverage
Diffstat (limited to 'tests/travis')
-rwxr-xr-xtests/travis/prepare.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/travis/prepare.sh b/tests/travis/prepare.sh
index fa7e44d972..ff992c7ad6 100755
--- a/tests/travis/prepare.sh
+++ b/tests/travis/prepare.sh
@@ -24,7 +24,7 @@ sed -i 's/@REQUEST_URI@/\//g' ./tests/PHPUnit/phpunit.xml
if [ -n "$PLUGIN_NAME" ];
then
- sed -n '/<filter>/{p;:a;N;/<\/filter>/!ba;s/.*\n/<whitelist addUncoveredFilesFromWhitelist=\"true\">\n<directory suffix=\".php\">..\/..\/plugins\/'$PLUGIN_NAME'<\/directory>\n<\/whitelist>\n/};p' ./tests/PHPUnit/phpunit.xml > ./tests/PHPUnit/phpunit.xml.new && mv ./tests/PHPUnit/phpunit.xml.new ./tests/PHPUnit/phpunit.xml
+ sed -n '/<filter>/{p;:a;N;/<\/filter>/!ba;s/.*\n/<whitelist addUncoveredFilesFromWhitelist=\"true\">\n<directory suffix=\".php\">..\/..\/plugins\/'$PLUGIN_NAME'<\/directory>\n<exclude>\n<directory suffix=\".php\">..\/..\/plugins\/'$PLUGIN_NAME'\/tests<\/directory>\n<directory suffix=\".php\">..\/..\/plugins\/'$PLUGIN_NAME'\/Test<\/directory>\n<\/exclude>\n<\/whitelist>\n/};p' ./tests/PHPUnit/phpunit.xml > ./tests/PHPUnit/phpunit.xml.new && mv ./tests/PHPUnit/phpunit.xml.new ./tests/PHPUnit/phpunit.xml
fi;
# If we have a test suite remove code coverage report