summaryrefslogtreecommitdiffstats
path: root/tests/travis/mysql.phpunit.xml
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-03-30 10:29:56 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-03-30 10:29:56 +0200
commit3396d531e2f3864d06860cdbdf7320bc121f77f1 (patch)
treecbc9ff0e1e574db87bbb3a31c783eb4dcca86dae /tests/travis/mysql.phpunit.xml
parent64bfa0634c991ef98ec3d2d44d862ea99d839854 (diff)
parent2c4c5e1946293e1c7a834112a8d271e890cc1c71 (diff)
Merge pull request #1228 from toopay/database-test
Multiple database drivers testing
Diffstat (limited to 'tests/travis/mysql.phpunit.xml')
-rw-r--r--tests/travis/mysql.phpunit.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/travis/mysql.phpunit.xml b/tests/travis/mysql.phpunit.xml
new file mode 100644
index 000000000..44d6d6ed9
--- /dev/null
+++ b/tests/travis/mysql.phpunit.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<phpunit
+ bootstrap="../Bootstrap.php"
+ colors="true"
+ convertNoticesToExceptions="true"
+ convertWarningsToExceptions="true"
+ stopOnError="false"
+ stopOnFailure="false"
+ stopOnIncomplete="false"
+ stopOnSkipped="false">
+ <php>
+ <const name="DB_DRIVER" value="mysql"/>
+ </php>
+ <testsuites>
+ <testsuite name="CodeIgniter Core Test Suite">
+ <file>../codeigniter/Setup_test.php</file>
+ <directory suffix="test.php">../codeigniter/core</directory>
+ <directory suffix="test.php">../codeigniter/helpers</directory>
+ <directory suffix="test.php">../codeigniter/libraries</directory>
+ <directory suffix="test.php">../codeigniter/database</directory>
+ </testsuite>
+ </testsuites>
+ <filters>
+ <blacklist>
+ <directory suffix=".php">PEAR_INSTALL_DIR</directory>
+ <directory suffix=".php">PHP_LIBDIR</directory>
+ <directory suffix=".php">PROJECT_BASE.'tests'</directory>
+ <directory suffix=".php">'../../system/core/CodeIgniter.php'</directory>
+ </blacklist>
+ <whitelist>
+ <!--
+ <directory suffix=".php">'../system/core'</directory>
+ -->
+ </whitelist>
+ </filters>
+</phpunit> \ No newline at end of file