travis.phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="bootstrap/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="true"
syntaxCheck="false">
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
<testsuites>
<testsuite name="Application Test Suite">
<directory>./tests/unit/</directory>
<directory>./tests/integration/</directory>
<directory>./tests/acceptance/scenarios/</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="testing"/>
<env name="APP_LOG" value="syslog"/>
<env name="DB_CONNECTION" value="testing"/>
<env name="DB_DATABASE" value="test_timegrid"/>
<env name="DB_USERNAME" value="root"/>
<env name="DB_PASSWORD" value=""/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
</php>
<filter>
<whitelist>
<directory suffix=".php">app/</directory>
<exclude>
<directory suffix=".js">public/</directory>
</exclude>
</whitelist>
</filter>
</phpunit>