diff options
Diffstat (limited to 'travis/phpunit-mysqli-travis.xml')
| -rw-r--r-- | travis/phpunit-mysqli-travis.xml | 49 | 
1 files changed, 49 insertions, 0 deletions
diff --git a/travis/phpunit-mysqli-travis.xml b/travis/phpunit-mysqli-travis.xml new file mode 100644 index 0000000000..4c963895fc --- /dev/null +++ b/travis/phpunit-mysqli-travis.xml @@ -0,0 +1,49 @@ +<?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> +			<exclude>../tests/lint_test.php</exclude> +			<exclude>../tests/ui</exclude> +		</testsuite> +		<testsuite name="phpBB Lint Test"> +			<file>../tests/lint_test.php</file> +		</testsuite> +		<testsuite name="phpBB Functional Tests"> +			<directory suffix="_test.php" phpVersion="5.3.19" phpVersionOperator=">=">../tests/functional</directory> +		</testsuite> +		<testsuite name="phpBB UI Tests"> +			<directory suffix="_test.php" phpVersion="5.3.19" phpVersionOperator=">=">../tests/ui</directory> +		</testsuite> +	</testsuites> + +	<groups> +		<exclude> +			<group>slow</group> +		</exclude> +	</groups> + +	<php> +		<server name="PHPBB_TEST_DBMS" value="phpbb\db\driver\mysqli" /> +		<server name="PHPBB_TEST_DBHOST" value="0.0.0.0" /> +		<server name="PHPBB_TEST_DBPORT" value="3306" /> +		<server name="PHPBB_TEST_DBNAME" value="phpbb_tests" /> +		<server name="PHPBB_TEST_DBUSER" value="root" /> +		<server name="PHPBB_TEST_DBPASSWD" value="" /> +		<server name="PHPBB_TEST_REDIS_HOST" value="localhost" /> +		<server name="PHPBB_TEST_TABLE_PREFIX" value="phpbb_"/> +		<server name="PHPBB_FUNCTIONAL_URL" value="http://localhost/" /> +	</php> +</phpunit>  | 
