mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 15:05:33 +00:00
PHPUnit XML configs for other db drivers on TeamCity
This commit is contained in:
parent
1ca61a5c22
commit
c8dbcf73a3
31
phpunit.teamcity.mssql.xml
Normal file
31
phpunit.teamcity.mssql.xml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<phpunit bootstrap="framework/tests/bootstrap.php" colors="false" backupGlobals="false" backupStaticAttributes="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" syntaxCheck="false" verbose="true" strict="true">
|
||||||
|
|
||||||
|
<testsuite name="Default">
|
||||||
|
<directory>mysite/tests</directory>
|
||||||
|
<directory>cms/tests</directory>
|
||||||
|
<directory>framework/tests</directory>
|
||||||
|
<directory>mssql/tests</directory>
|
||||||
|
</testsuite>
|
||||||
|
|
||||||
|
<listeners>
|
||||||
|
<listener class="SS_TestListener" file="framework/dev/TestListener.php" />
|
||||||
|
<listener class="TeamCityListener" file="framework/dev/TeamCityListener.php"/>
|
||||||
|
</listeners>
|
||||||
|
|
||||||
|
<groups>
|
||||||
|
<exclude>
|
||||||
|
<group>sanitychecks</group>
|
||||||
|
</exclude>
|
||||||
|
</groups>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Set different database connection.
|
||||||
|
Relies on the presence of the 'zframeworktest_dbswitcher' module
|
||||||
|
(https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
|
||||||
|
as well as on constants in _ss_environment.php (see module README).
|
||||||
|
-->
|
||||||
|
<php>
|
||||||
|
<get name="db" value="mssql"/>
|
||||||
|
</php>
|
||||||
|
|
||||||
|
</phpunit>
|
31
phpunit.teamcity.postgresql.xml
Normal file
31
phpunit.teamcity.postgresql.xml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<phpunit bootstrap="framework/tests/bootstrap.php" colors="false" backupGlobals="false" backupStaticAttributes="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" syntaxCheck="false" verbose="true" strict="true">
|
||||||
|
|
||||||
|
<testsuite name="Default">
|
||||||
|
<directory>mysite/tests</directory>
|
||||||
|
<directory>cms/tests</directory>
|
||||||
|
<directory>framework/tests</directory>
|
||||||
|
<directory>postgresql/tests</directory>
|
||||||
|
</testsuite>
|
||||||
|
|
||||||
|
<listeners>
|
||||||
|
<listener class="SS_TestListener" file="framework/dev/TestListener.php" />
|
||||||
|
<listener class="TeamCityListener" file="framework/dev/TeamCityListener.php"/>
|
||||||
|
</listeners>
|
||||||
|
|
||||||
|
<groups>
|
||||||
|
<exclude>
|
||||||
|
<group>sanitychecks</group>
|
||||||
|
</exclude>
|
||||||
|
</groups>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Set different database connection.
|
||||||
|
Relies on the presence of the 'zframeworktest_dbswitcher' module
|
||||||
|
(https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
|
||||||
|
as well as on constants in _ss_environment.php (see module README).
|
||||||
|
-->
|
||||||
|
<php>
|
||||||
|
<get name="db" value="postgresql"/>
|
||||||
|
</php>
|
||||||
|
|
||||||
|
</phpunit>
|
31
phpunit.teamcity.sqlite3.xml
Normal file
31
phpunit.teamcity.sqlite3.xml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<phpunit bootstrap="framework/tests/bootstrap.php" colors="false" backupGlobals="false" backupStaticAttributes="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" syntaxCheck="false" verbose="true" strict="true">
|
||||||
|
|
||||||
|
<testsuite name="Default">
|
||||||
|
<directory>mysite/tests</directory>
|
||||||
|
<directory>cms/tests</directory>
|
||||||
|
<directory>framework/tests</directory>
|
||||||
|
<directory>sqlite3/tests</directory>
|
||||||
|
</testsuite>
|
||||||
|
|
||||||
|
<listeners>
|
||||||
|
<listener class="SS_TestListener" file="framework/dev/TestListener.php" />
|
||||||
|
<listener class="TeamCityListener" file="framework/dev/TeamCityListener.php"/>
|
||||||
|
</listeners>
|
||||||
|
|
||||||
|
<groups>
|
||||||
|
<exclude>
|
||||||
|
<group>sanitychecks</group>
|
||||||
|
</exclude>
|
||||||
|
</groups>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Set different database connection.
|
||||||
|
Relies on the presence of the 'zframeworktest_dbswitcher' module
|
||||||
|
(https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
|
||||||
|
as well as on constants in _ss_environment.php (see module README).
|
||||||
|
-->
|
||||||
|
<php>
|
||||||
|
<get name="db" value="sqlite3"/>
|
||||||
|
</php>
|
||||||
|
|
||||||
|
</phpunit>
|
Loading…
x
Reference in New Issue
Block a user