@@ -37,19 +37,19 @@ install:
37
37
# - ps: if ($isWindows) { (Get-Content $iniPath).replace('port=3306', 'port=3307') | Set-Content $iniPath }
38
38
39
39
# install PostgreSQL 8.4
40
- - cmd : curl -L -O -S -s https://get.enterprisedb.com/postgresql/postgresql-8.4.22-1-windows.exe
41
- - cmd : postgresql-8.4.22-1-windows.exe --mode unattended --superpassword Password12! --serverport 5431
40
+ # - cmd: curl -L -O -S -s https://get.enterprisedb.com/postgresql/postgresql-8.4.22-1-windows.exe
41
+ # - cmd: postgresql-8.4.22-1-windows.exe --mode unattended --superpassword Password12! --serverport 5431
42
42
43
43
# install PostGIS 1.5.5 for PostgreSQL 8.4
44
- - cmd : curl -L -O -S -s http://download.osgeo.org/postgis/windows/pg84/postgis-pg84-binaries-1.5.5.zip
45
- - cmd : 7z x postgis-pg84-binaries-1.5.5.zip > nul
46
- - cmd : xcopy /s /y /q postgis-pg84-binaries-1.5.5 "C:\Program Files (x86)\PostgreSQL\8.4"
47
- - cmd : SET PGPASSWORD=Password12!
48
- - cmd : SET PGDIR=C:\Program Files (x86)\PostgreSQL\8.4
49
- - cmd : SET PATH=%PGDIR%\bin;%PATH%
50
- - cmd : createdb -p 5431 -U postgres template_postgis
51
- - cmd : psql -q -p 5431 -U postgres -d template_postgis -f "%PGDIR%\share\contrib\postgis-1.5\postgis.sql"
52
- - cmd : psql -q -p 5431 -U postgres -d template_postgis -f "%PGDIR%\share\contrib\postgis-1.5\spatial_ref_sys.sql"
44
+ # - cmd: curl -L -O -S -s http://download.osgeo.org/postgis/windows/pg84/postgis-pg84-binaries-1.5.5.zip
45
+ # - cmd: 7z x postgis-pg84-binaries-1.5.5.zip > nul
46
+ # - cmd: xcopy /s /y /q postgis-pg84-binaries-1.5.5 "C:\Program Files (x86)\PostgreSQL\8.4"
47
+ # - cmd: SET PGPASSWORD=Password12!
48
+ # - cmd: SET PGDIR=C:\Program Files (x86)\PostgreSQL\8.4
49
+ # - cmd: SET PATH=%PGDIR%\bin;%PATH%
50
+ # - cmd: createdb -p 5431 -U postgres template_postgis
51
+ # - cmd: psql -q -p 5431 -U postgres -d template_postgis -f "%PGDIR%\share\contrib\postgis-1.5\postgis.sql"
52
+ # - cmd: psql -q -p 5431 -U postgres -d template_postgis -f "%PGDIR%\share\contrib\postgis-1.5\spatial_ref_sys.sql"
53
53
54
54
# install PostGIS 2.3.2 for PostgreSQL 9.6 on Windows
55
55
- cmd : curl -L -O -S -s http://download.osgeo.org/postgis/windows/pg96/archive/postgis-bundle-pg96-2.3.2x64.zip
@@ -106,12 +106,13 @@ before_test:
106
106
# - cmd: '%mysql% -P 3307 -u root < Tests.NHibernate.Spatial.MySQL57\nhsp_test.sql'
107
107
108
108
# setup PostgreSQL 8.4
109
- - cmd : SET psql="C:\Program Files (x86)\PostgreSQL\8.4\bin\psql.exe"
110
- - cmd : ' %psql% -q -p 5431 -U postgres -f Tests.NHibernate.Spatial.PostGis\nhsp_test.sql'
109
+ # - cmd: SET psql="C:\Program Files (x86)\PostgreSQL\8.4\bin\psql.exe"
110
+ # - cmd: '%psql% -q -p 5431 -U postgres -f Tests.NHibernate.Spatial.PostGis\nhsp_test.sql'
111
111
112
112
# setup PostgreSQL 9.6 on Windows
113
113
- cmd : net start postgresql-x64-9.6
114
114
- cmd : SET psql="C:\Program Files\PostgreSQL\9.6\bin\psql.exe"
115
+ - cmd : SET PGPASSWORD=Password12!
115
116
- cmd : ' %psql% -q -p 5432 -U postgres -f Tests.NHibernate.Spatial.PostGis20\nhsp_test.sql'
116
117
117
118
# setup PostgreSQL 9.6 on Ubuntu
@@ -125,7 +126,7 @@ test_script:
125
126
# Disable MySQL tests until issue #87 is resolved
126
127
# - cmd: dotnet test -c Release --no-build --logger "trx;LogFileName=MySQL.trx" --results-directory %APPVEYOR_BUILD_FOLDER% Tests.NHibernate.Spatial.MySQL
127
128
# - cmd: dotnet test -c Release --no-build --logger "trx;LogFileName=MySQL57.trx" --results-directory %APPVEYOR_BUILD_FOLDER% Tests.NHibernate.Spatial.MySQL57
128
- - cmd : dotnet test -c Release --no-build --logger "trx;LogFileName=PostGis.trx" --results-directory %APPVEYOR_BUILD_FOLDER% Tests.NHibernate.Spatial.PostGis
129
+ # - cmd: dotnet test -c Release --no-build --logger "trx;LogFileName=PostGis.trx" --results-directory %APPVEYOR_BUILD_FOLDER% Tests.NHibernate.Spatial.PostGis
129
130
- ps : dotnet test -c Release --no-build --logger "trx;LogFileName=PostGis20.trx" --results-directory $env:APPVEYOR_BUILD_FOLDER Tests.NHibernate.Spatial.PostGis20
130
131
131
132
after_test :
@@ -135,5 +136,5 @@ after_test:
135
136
- ps : if ($isWindows) { $wc.UploadFile($uri, (Resolve-Path MsSql2012.trx)) }
136
137
# - ps: $wc.UploadFile($uri, (Resolve-Path MySQL.trx))
137
138
# - ps: $wc.UploadFile($uri, (Resolve-Path MySQL57.trx))
138
- - ps : if ($isWindows) { $wc.UploadFile($uri, (Resolve-Path PostGis.trx)) }
139
+ # - ps: if ($isWindows) { $wc.UploadFile($uri, (Resolve-Path PostGis.trx)) }
139
140
- ps : $wc.UploadFile($uri, (Resolve-Path PostGis20.trx))
0 commit comments