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
path: root/tests
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2014-10-12 15:50:50 +0400
committersgiehl <stefan@piwik.org>2014-10-12 15:50:50 +0400
commitd2210081f581a867d85f81103f65ce4b1cf2182c (patch)
treee61c35a0fc8620c9d3a1e76dbb5e384a70208dff /tests
parent1bb3926e7123dcb8ff61a676665078ac4ae53d02 (diff)
ignore update files of plugins in code coveragre
Diffstat (limited to 'tests')
-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 ff992c7ad6..b430f698ff 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<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
+ 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<directory suffix=\".php\">..\/..\/plugins\/'$PLUGIN_NAME'\/Updates<\/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