re-enable `hibernate-spatial`
This commit is contained in:
parent
39ee0236be
commit
476ea9230e
|
@ -85,11 +85,12 @@ stage('Build') {
|
|||
containerName = "mariadb"
|
||||
break;
|
||||
case "postgresql":
|
||||
// use the postgis image to enable the PGSQL GIS (spatial) extension
|
||||
docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
|
||||
docker.image('postgres:9.5').pull()
|
||||
docker.image('postgis/postgis:11-2.5').pull()
|
||||
}
|
||||
sh "./docker_db.sh postgresql_9_5"
|
||||
containerName = "postgres"
|
||||
sh "./docker_db.sh postgresql_11"
|
||||
containerName = "postgis"
|
||||
break;
|
||||
case "oracle":
|
||||
docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
|
||||
|
|
|
@ -81,7 +81,8 @@ postgresql_13() {
|
|||
docker run --name postgres -e POSTGRES_USER=hibernate_orm_test -e POSTGRES_PASSWORD=hibernate_orm_test -e POSTGRES_DB=hibernate_orm_test -p5432:5432 -d postgres:13.0
|
||||
}
|
||||
|
||||
postgis(){
|
||||
postgresql_11() {
|
||||
# use the postgis image to enable the PGSQL GIS (spatial) extension
|
||||
docker rm -f postgis || true
|
||||
docker run --name postgis -e POSTGRES_USER=hibernate_orm_test -e POSTGRES_PASSWORD=hibernate_orm_test -e POSTGRES_DB=hibernate_orm_test -p5432:5432 -d postgis/postgis:11-2.5
|
||||
}
|
||||
|
|
|
@ -43,3 +43,7 @@ dependencies {
|
|||
sourceSets.test.resources {
|
||||
setSrcDirs(['src/test/java', 'src/test/resources'])
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
enabled = project.db == 'pgsql'
|
||||
}
|
|
@ -119,8 +119,7 @@ include 'hibernate-envers'
|
|||
include 'hibernate-envers-jakarta'
|
||||
|
||||
include 'hibernate-community-dialects'
|
||||
// todo (6.0): re-enable hibernate-spatial
|
||||
//include 'hibernate-spatial'
|
||||
include 'hibernate-spatial'
|
||||
|
||||
include 'hibernate-c3p0'
|
||||
include 'hibernate-proxool'
|
||||
|
|
Loading…
Reference in New Issue