-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.travis.dist
57 lines (51 loc) · 2.16 KB
/
phpunit.xml.travis.dist
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/7.3/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<php>
<ini name="error_reporting" value="-1" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
<env name="KERNEL_CLASS" value="KejawenLab\Semart\Surat\Kernel" />
<env name="APP_ENV" value="test" />
<env name="APP_DEBUG" value="1" />
<env name="APP_SECRET" value="s$cretf0rt3st" />
<env name="SHELL_VERBOSITY" value="-1" />
<!-- define your env variables for the test env here -->
<env name="DATABASE_DRIVER" value="pdo_mysql" />
<env name="DATABASE_SERVER_VERSION" value="10.1" />
<env name="DATABASE_CHARSET" value="utf8mb4" />
<env name="DATABASE_URL" value="mysql://root@127.0.0.1:3306/semart_test" />
<env name="APPLICATION_TITLE" value="SEMART SKELETON" />
<env name="APPLICATION_TITLE_LONG" value="KEJAWENLAB APPLICATION SKELETON" />
<env name="APPLICATION_VERSION" value="1@dev" />
<!-- ###+ snc/redis-bundle ### -->
<!-- passwords that contain special characters (@, %, :, +) must be urlencoded -->
<env name="REDIS_URL" value="redis://localhost"/>
<!-- ###- snc/redis-bundle ### -->
</php>
<testsuites>
<testsuite name="Semart Tests Suite">
<directory>tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src/</directory>
<exclude>
<directory>./src/Migrations</directory>
<directory>./src/DataFixutes</directory>
<directory>./src/Contract</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
<logging>
<log type="coverage-clover" target="./build/logs/clover.xml"/>
</logging>
</phpunit>