This repository has been archived by the owner on Nov 26, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 140
/
phpunit.travis.xml
37 lines (35 loc) · 1.6 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/bootstrap.php" colors="false">
<!-- These constants help setup environment configurations for running optional tests.-->
<php>
<const name="JTEST_DATABASE_MYSQL_DSN" value="host=localhost;dbname=joomla_ut;user=root;pass=" />
<const name="JTEST_DATABASE_MYSQLI_DSN" value="host=localhost;dbname=joomla_ut;user=root;pass=" />
<const name="JTEST_DATABASE_POSTGRESQL_DSN" value="host=localhost;port=5432;dbname=joomla_ut;user=postgres;pass=" />
<!--<const name="JTEST_DATABASE_ORACLE_DSN" value="host=localhost;port=1521;dbname=joomla_ut;user=utuser;pass=ut1234" />
<const name="JTEST_DATABASE_SQLSRV_DSN" value="host=localhost;dbname=joomla_ut;user=utuser;pass=ut1234" />-->
<const name="JTEST_HTTP_STUB" value="http://virtualhost.local/src/Joomla/Http/Tests/stubs/jhttp_stub.php" />
</php>
<testsuites>
<testsuite name="Unit">
<directory>src/Joomla/*/Tests</directory>
</testsuite>
</testsuites>
<logging>
<!--
<log type="coverage-html" target="build/coverage" title="Joomla-Framework" charset="UTF-8" yui="true" highlight="true"
lowUpperBound="35" highLowerBound="70" />
<log type="coverage-clover" target="build/logs/clover.xml" />
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false" /> -->
</logging>
<filter>
<!--
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src/Joomla</directory>
<exclude>
<directory suffix=".php">src/Joomla/*/Tests</directory>
<directory suffix=".php">src/Joomla/*/tests</directory>
</exclude>
</whitelist>
-->
</filter>
</phpunit>