Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- all test (including integration) are now running by default with H2 in memory - travis has been configured to run all test in postgres by passing url and driver as a argument property of the SBT command. - simplified the DatabaseConfigWrapper, just a little.
- Loading branch information
1 parent
399fe20
commit 333f35a
Showing
16 changed files
with
39 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
pgdev = { | ||
url = "jdbc:postgresql://localhost/modelmatrix?user=modelmatrix&password=modelmatrix" | ||
url = "jdbc:postgresql://localhost/modelmatrix?user=modelmatrix&password=modelmatrix" | ||
driver = org.postgresql.Driver | ||
keepAliveConnection = true | ||
} |
5 changes: 0 additions & 5 deletions
5
...core/src/it/scala/com/collective/modelmatrix/catalog/H2ModelDefinitionCatalogSpecIT.scala
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...x-core/src/it/scala/com/collective/modelmatrix/catalog/H2ModelInstanceCatalogSpecIT.scala
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
...x-core/src/it/scala/com/collective/modelmatrix/catalog/ModelDefinitionCatalogSpecIT.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.collective.modelmatrix.catalog | ||
|
||
class ModelDefinitionCatalogSpecIT extends ModelDefinitionCatalogSpec with ITDatabase with InstallSchemaBefore | ||
|
||
|
6 changes: 6 additions & 0 deletions
6
...rix-core/src/it/scala/com/collective/modelmatrix/catalog/ModelInstanceCatalogSpecIT.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.collective.modelmatrix.catalog | ||
|
||
|
||
class ModelInstanceCatalogSpecIT extends ModelInstanceCatalogSpec with ITDatabase with InstallSchemaBefore | ||
|
||
|
3 changes: 0 additions & 3 deletions
3
...core/src/it/scala/com/collective/modelmatrix/catalog/PgModelDefinitionCatalogSpecIT.scala
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...x-core/src/it/scala/com/collective/modelmatrix/catalog/PgModelInstanceCatalogSpecIT.scala
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
modelmatrix-core/src/test/scala/com/collective/modelmatrix/catalog/PgDatabase.scala
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters