-
Notifications
You must be signed in to change notification settings - Fork 34
/
phpunit.travis.xml
41 lines (36 loc) · 1.75 KB
/
phpunit.travis.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true">
<php>
<ini name="error_reporting" value="-1" />
<const name="WINDWALKER_TEST_HTTP_URL" value="http://localhost:8100" />
<const name="WINDWALKER_TEST_DB_DSN_MYSQL" value="host=localhost;dbname=windwalker_test;user=root;password=;prefix=ww_" />
<const name="WINDWALKER_TEST_DB_DSN_POSTGRESQL" value="host=localhost;dbname=windwalker_test;user=postgres;password=;prefix=ww_" />
<!--<const name="WINDWALKER_TEST_DB_DSN_ORACLE" value="host=localhost;port=5432;dbname=windwalker_test;user=root;password=ut1234;prefix=ww_" />-->
<!--<const name="WINDWALKER_TEST_DB_DSN_SQLSERVER" value="host=localhost;port=1521;dbname=windwalker_test;user=root;password=ut1234;prefix=ww_" />-->
<!--<const name="WINDWALKER_TEST_DB_DSN_SQLITE" value="dbname=tmp/test.db;prefix=ww_" />-->
<env name="REDIS_ENABLED" value="1" />
<env name="MEMCACHED_ENABLED" value="1" />
<env name="SWOOLE_ENABLED" value="1" />
</php>
<testsuites>
<testsuite name="Unit">
<directory>packages/*/test</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">packages</directory>
<exclude>
<directory suffix=".php">packages/*/test</directory>
<directory suffix=".php">packages/*/.ide</directory>
<directory suffix=".php">packages/*/resources</directory>
</exclude>
</whitelist>
</filter>
<!-- <logging>-->
<!-- <log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/>-->
<!-- </logging>-->
</phpunit>