Skip to content

Commit

Permalink
Fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Nov 11, 2013
1 parent 501dc2f commit 2d0d472
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .travis.yml
Expand Up @@ -33,18 +33,19 @@ before_script:
- git clone https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
- ../travis/before_script.sh
- echo "CakePlugin::loadAll(array('$PLUGIN_NAME' => array('bootstrap' => true)));" >> ../cakephp/app/Config/bootstrap.php
- echo "<phpunit colors="true">
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=\".php\">Plugin/$PLUGIN_NAME</directory>
<exclude>
<directory suffix=\".php\">Plugin/$PLUGIN_NAME/vendor</directory>
<directory suffix=\".php\">Plugin/$PLUGIN_NAME/Test</directory>
<directory suffix=\".php\">Plugin/$PLUGIN_NAME/Config</directory>
</exclude>
</whitelist>
</filter>
</phpunit>" > phpunit.xml
- echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<phpunit colors=\"true\">
<filter>
<whitelist addUncoveredFilesFromWhitelist=\"true\">
<directory suffix=\".php\">Plugin/$PLUGIN_NAME</directory>
<exclude>
<directory suffix=\".php\">Plugin/$PLUGIN_NAME/vendor</directory>
<directory suffix=\".php\">Plugin/$PLUGIN_NAME/Test</directory>
<directory suffix=\".php\">Plugin/$PLUGIN_NAME/Config</directory>
</exclude>
</whitelist>
</filter>
</phpunit>" > phpunit.xml

script:
- ../travis/script.sh
Expand Down

0 comments on commit 2d0d472

Please sign in to comment.