diff options
author | sgiehl <stefan@piwik.org> | 2014-10-12 15:20:20 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2014-10-12 15:20:20 +0400 |
commit | 1bb3926e7123dcb8ff61a676665078ac4ae53d02 (patch) | |
tree | a4bd225b7777e7782df13542290d72801667c6c5 /tests/travis | |
parent | fe73ae8d61658c8a29ef9e91840c4633e42a9ff6 (diff) |
small adjustment to plugin coverage
Diffstat (limited to 'tests/travis')
-rwxr-xr-x | tests/travis/prepare.sh | 2 |
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 |