aboutsummaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorMichael Cullum <unknownbliss@phpbbdevelopers.net>2012-03-21 22:57:29 +0000
committerMichael Cullum <unknownbliss@phpbbdevelopers.net>2012-03-22 09:05:59 +0000
commit4dafcc2525fa72f2bd91760fae49e51ff9d1a0ef (patch)
tree6091933805d9e30940ae60ba18ac18a10d60daa5 /travis
parentdad37a4329ae855372aaf4d5289fe0c2b844a84f (diff)
downloadforums-4dafcc2525fa72f2bd91760fae49e51ff9d1a0ef.tar
forums-4dafcc2525fa72f2bd91760fae49e51ff9d1a0ef.tar.gz
forums-4dafcc2525fa72f2bd91760fae49e51ff9d1a0ef.tar.bz2
forums-4dafcc2525fa72f2bd91760fae49e51ff9d1a0ef.tar.xz
forums-4dafcc2525fa72f2bd91760fae49e51ff9d1a0ef.zip
[task/travis] Adding Travis Continuous Intergration Support
PHPBB3-10718
Diffstat (limited to 'travis')
-rw-r--r--travis/mysql.travis.xml28
-rw-r--r--travis/postgres.travis.xml30
2 files changed, 58 insertions, 0 deletions
diff --git a/travis/mysql.travis.xml b/travis/mysql.travis.xml
new file mode 100644
index 0000000000..a849f50136
--- /dev/null
+++ b/travis/mysql.travis.xml
@@ -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>
diff --git a/travis/postgres.travis.xml b/travis/postgres.travis.xml
new file mode 100644
index 0000000000..e44696a335
--- /dev/null
+++ b/travis/postgres.travis.xml
@@ -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>