Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch '3.0'
  • Loading branch information
chillu committed Jul 5, 2012
2 parents 00a7451 + b3e8696 commit 3e24385
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 0 deletions.
33 changes: 33 additions & 0 deletions phpunit.teamcity.mssql.xml
@@ -0,0 +1,33 @@
<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>

<php>
<!--
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).
-->
<get name="db" value="mssql"/>
<!-- Always flush the manifest -->
<get name="flush" value="1"/>
</php>

</phpunit>
33 changes: 33 additions & 0 deletions phpunit.teamcity.postgresql.xml
@@ -0,0 +1,33 @@
<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>

<php>
<!--
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).
-->
<get name="db" value="postgresql"/>
<!-- Always flush the manifest -->
<get name="flush" value="1"/>
</php>

</phpunit>
33 changes: 33 additions & 0 deletions phpunit.teamcity.sqlite3.xml
@@ -0,0 +1,33 @@
<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>

<php>
<!--
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).
-->
<get name="db" value="sqlite3"/>
<!-- Always flush the manifest -->
<get name="flush" value="1"/>
</php>

</phpunit>
1 change: 1 addition & 0 deletions phpunit.teamcity.xml
Expand Up @@ -34,4 +34,5 @@
<group>sanitychecks</group>
</exclude>
</groups>

</phpunit>

0 comments on commit 3e24385

Please sign in to comment.