Move phpunit xml file into a sane place
This commit is contained in:
parent
0b85f63e2a
commit
fa3c3efb38
@ -13,7 +13,7 @@ before_script:
|
|||||||
- sh -c "psql -c 'create database test;' -U postgres"
|
- sh -c "psql -c 'create database test;' -U postgres"
|
||||||
- sh -c "mysql -e 'create database IF NOT EXISTS test;'"
|
- sh -c "mysql -e 'create database IF NOT EXISTS test;'"
|
||||||
|
|
||||||
script: cd tests && phpunit
|
script: phpunit
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
|
38
phpunit.xml
Normal file
38
phpunit.xml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<phpunit
|
||||||
|
colors="true"
|
||||||
|
stopOnFailure="false"
|
||||||
|
bootstrap="tests/bootstrap.php">
|
||||||
|
<filter>
|
||||||
|
<blacklist>
|
||||||
|
<directory suffix=".php">coverage</directory>
|
||||||
|
<directory suffix=".php">docs</directory>
|
||||||
|
<directory suffix=".php">tests</directory>
|
||||||
|
<directory suffix=".php">vendor</directory>
|
||||||
|
<directory suffix=".php">.</directory>
|
||||||
|
</blacklist>
|
||||||
|
</filter>
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="CoreTests">
|
||||||
|
<file>tests/core/core.php</file>
|
||||||
|
<file>tests/core/db_qp_test.php</file>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="FirebirdTests">
|
||||||
|
<file>tests/databases/firebird/FirebirdTest.php</file>
|
||||||
|
<file>tests/databases/firebird/FirebirdQBTest.php</file>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="MySQLTests">
|
||||||
|
<file>tests/databases/mysql/MySQLTest.php</file>
|
||||||
|
<file>tests/databases/mysql/MySQLQBTest.php</file>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="PgSQLTests">
|
||||||
|
<file>tests/databases/pgsql/PgSQLTest.php</file>
|
||||||
|
<file>tests/databases/pgsql/PgSQLQBTest.php</file>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="SQLiteTests">
|
||||||
|
<file>tests/databases/sqlite/SqliteTest.php</file>
|
||||||
|
<file>tests/databases/mysql/SqliteQBTest.php</file>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
</phpunit>
|
@ -1,36 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
|
|
||||||
<phpunit
|
|
||||||
colors="true"
|
|
||||||
stopOnFailure="false"
|
|
||||||
bootstrap="bootstrap.php">
|
|
||||||
<filter>
|
|
||||||
<blacklist>
|
|
||||||
<directory suffix=".php">../coverage</directory>
|
|
||||||
<directory suffix=".php">../docs</directory>
|
|
||||||
<directory suffix=".php">.</directory>
|
|
||||||
</blacklist>
|
|
||||||
</filter>
|
|
||||||
<testsuites>
|
|
||||||
<testsuite name="CoreTests">
|
|
||||||
<file>core/core.php</file>
|
|
||||||
<file>core/db_qp_test.php</file>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="FirebirdTests">
|
|
||||||
<file>databases/firebird/FirebirdTest.php</file>
|
|
||||||
<file>databases/firebird/FirebirdQBTest.php</file>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="MySQLTests">
|
|
||||||
<file>databases/mysql/MySQLTest.php</file>
|
|
||||||
<file>databases/mysql/MySQLQBTest.php</file>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="PgSQLTests">
|
|
||||||
<file>databases/pgsql/PgSQLTest.php</file>
|
|
||||||
<file>databases/pgsql/PgSQLQBTest.php</file>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="SQLiteTests">
|
|
||||||
<file>databases/sqlite/SqliteTest.php</file>
|
|
||||||
<file>databases/mysql/SqliteQBTest.php</file>
|
|
||||||
</testsuite>
|
|
||||||
</testsuites>
|
|
||||||
</phpunit>
|
|
Loading…
Reference in New Issue
Block a user