aboutsummaryrefslogtreecommitdiffstats
path: root/travis/phpunit-postgres-travis.xml
blob: 12e20547ba3743a77fe1e66a8e0ace8ee7d4492c (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
         backupStaticAttributes="true"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         syntaxCheck="true"
		 strict="true"
         verbose="true"
         bootstrap="../tests/bootstrap.php">
	<testsuites>
		<testsuite name="phpBB Test Suite">
			<directory suffix="_test.php">../tests/</directory>
			<exclude>tests/functional</exclude>
		</testsuite>
		<testsuite name="phpBB Functional Tests">
			<directory suffix="_test.php" phpVersion="5.3.19" phpVersionOperator=">=">../tests/functional</directory>
		</testsuite>
	</testsuites>

	<groups>
		<exclude>
			<group>slow</group>
		</exclude>
	</groups>

	<php>
		<!-- "Real" test database -->
		<!-- uncomment, otherwise sqlite memory runs -->
		<server name="PHPBB_TEST_DBMS" value="postgres"/>
		<server name="PHPBB_TEST_DBHOST" value="localhost" />
		<server name="PHPBB_TEST_DBPORT" value="5432" />
		<server name="PHPBB_TEST_DBNAME" value="phpbb_tests" />
		<server name="PHPBB_TEST_DBUSER" value="postgres" />
		<server name="PHPBB_TEST_DBPASSWD" value="" />
		<server name="PHPBB_TEST_TABLE_PREFIX" value="phpbb_"/>
		<server name="PHPBB_FUNCTIONAL_URL" value="http://localhost/" />
	</php>
</phpunit>