Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Enforce flush on CI test runs
Would be better handled by an explicity "clear manifest" task,
but that's the best we can do for now. Necessary because
of removed 'flush' setting from bootstrap.php, see
silverstripe/silverstripe-framework#620
  • Loading branch information
chillu committed Jul 5, 2012
1 parent c8dbcf7 commit b3e8696
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 18 deletions.
14 changes: 8 additions & 6 deletions phpunit.teamcity.mssql.xml
Expand Up @@ -18,14 +18,16 @@
</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>
<!--
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>
14 changes: 8 additions & 6 deletions phpunit.teamcity.postgresql.xml
Expand Up @@ -18,14 +18,16 @@
</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>
<!--
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>
14 changes: 8 additions & 6 deletions phpunit.teamcity.sqlite3.xml
Expand Up @@ -18,14 +18,16 @@
</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>
<!--
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 b3e8696

Please sign in to comment.