mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[task/travis] Adding Travis Continuous Intergration Support
PHPBB3-10718
This commit is contained in:
28
travis/mysql.travis.xml
Normal file
28
travis/mysql.travis.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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"
|
||||
bootstrap="../tests/bootstrap.php">
|
||||
<testsuites>
|
||||
<testsuite name="phpBB Test Suite">
|
||||
<directory suffix="_test.php">../tests/</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<php>
|
||||
<const name="dbms" value="mysqli"/>
|
||||
<const name="dbhost" value="0.0.0.0" />
|
||||
<const name="dbport" value="3306" />
|
||||
<const name="dbname" value="phpbb_tests" />
|
||||
<const name="dbuser" value="root" />
|
||||
<const name="dbpasswd" value="" />
|
||||
<const name="table_prefix" value="phpbb_"/>
|
||||
</php>
|
||||
</phpunit>
|
30
travis/postgres.travis.xml
Normal file
30
travis/postgres.travis.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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"
|
||||
bootstrap="../tests/bootstrap.php">
|
||||
<testsuites>
|
||||
<testsuite name="phpBB Test Suite">
|
||||
<directory suffix="_test.php">../tests/</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<php>
|
||||
<!-- "Real" test database -->
|
||||
<!-- uncomment, otherwise sqlite memory runs -->
|
||||
<const name="dbms" value="postgres"/>
|
||||
<const name="dbhost" value="localhost" />
|
||||
<const name="dbport" value="5432" />
|
||||
<const name="dbname" value="phpbb_tests" />
|
||||
<const name="dbuser" value="postgres" />
|
||||
<const name="dbpasswd" value="" />
|
||||
<const name="table_prefix" value="phpbb_"/>
|
||||
</php>
|
||||
</phpunit>
|
Reference in New Issue
Block a user