@@ -34,7 +34,7 @@ install:
34
34
# install MySQL 5.6
35
35
# - cmd: curl -L -O -S -s https://dev.mysql.com/get/Downloads/MySQLInstaller/mysql-installer-web-community-5.6.36.0.msi
36
36
# - cmd: msiexec /i mysql-installer-web-community-5.6.36.0.msi /quiet
37
- # - cmd: cmd /c "" C:\Program Files (x86)\MySQL\MySQL Installer for Windows\MySQLInstallerConsole.exe" community install server;5.6.36;x64:*:port=3306;passwd=Password12! -silent"
37
+ # - cmd: " C:\Program Files (x86)\MySQL\MySQL Installer for Windows\MySQLInstallerConsole.exe" community install server;5.6.36;x64:*:port=3306;passwd=Password12! -silent
38
38
39
39
# change default port for MySQL 5.7 (so it can run simultaneously with MySQL 5.6)
40
40
# - ps: $iniPath = 'C:\ProgramData\MySQL\MySQL Server 5.7\my.ini'
@@ -50,9 +50,10 @@ install:
50
50
- cmd : xcopy /s /y /q postgis-pg84-binaries-1.5.5 "C:\Program Files (x86)\PostgreSQL\8.4"
51
51
- cmd : SET PGPASSWORD=Password12!
52
52
- cmd : SET PGDIR=C:\Program Files (x86)\PostgreSQL\8.4
53
- - cmd : cmd /c ""%PGDIR%\bin\createdb" -p 5431 -U postgres template_postgis"
54
- - cmd : cmd /c ""%PGDIR%\bin\psql" -q -p 5431 -U postgres -d template_postgis -f "%PGDIR%\share\contrib\postgis-1.5\postgis.sql""
55
- - cmd : cmd /c ""%PGDIR%\bin\psql" -q -p 5431 -U postgres -d template_postgis -f "%PGDIR%\share\contrib\postgis-1.5\spatial_ref_sys.sql""
53
+ - cmd : SET PATH=%PGDIR%\bin;%PATH%
54
+ - cmd : createdb -p 5431 -U postgres template_postgis
55
+ - cmd : psql -q -p 5431 -U postgres -d template_postgis -f "%PGDIR%\share\contrib\postgis-1.5\postgis.sql"
56
+ - cmd : psql -q -p 5431 -U postgres -d template_postgis -f "%PGDIR%\share\contrib\postgis-1.5\spatial_ref_sys.sql"
56
57
57
58
# install PostGIS 2.3.2 for PostgreSQL 9.6
58
59
- cmd : curl -L -O -S -s http://download.osgeo.org/postgis/windows/pg96/archive/postgis-bundle-pg96-2.3.2x64.zip
@@ -98,19 +99,19 @@ before_test:
98
99
# setup MySQL 5.6
99
100
# - cmd: SET MYSQL_PWD=Password12!
100
101
# - cmd: SET mysql="C:\Program Files\MySQL\MySQL Server 5.6\bin\mysql.exe"
101
- # - cmd: cmd /c " %mysql% -P 3306 -u root < Tests.NHibernate.Spatial.MySQL\nhsp_test.sql"
102
+ # - cmd: ' %mysql% -P 3306 -u root < Tests.NHibernate.Spatial.MySQL\nhsp_test.sql'
102
103
103
104
# setup MySQL 5.7
104
105
# - cmd: SET mysql="C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe"
105
- # - cmd: cmd /c " %mysql% -P 3307 -u root < Tests.NHibernate.Spatial.MySQL57\nhsp_test.sql"
106
+ # - cmd: ' %mysql% -P 3307 -u root < Tests.NHibernate.Spatial.MySQL57\nhsp_test.sql'
106
107
107
108
# setup PostgreSQL 8.4
108
109
- cmd : SET psql="C:\Program Files (x86)\PostgreSQL\8.4\bin\psql.exe"
109
- - cmd : cmd /c " %psql% -q -p 5431 -U postgres -f Tests.NHibernate.Spatial.PostGis\nhsp_test.sql"
110
+ - cmd : ' %psql% -q -p 5431 -U postgres -f Tests.NHibernate.Spatial.PostGis\nhsp_test.sql'
110
111
111
112
# setup PostgreSQL 9.6
112
113
- cmd : SET psql="C:\Program Files\PostgreSQL\9.6\bin\psql.exe"
113
- - cmd : cmd /c " %psql% -q -p 5432 -U postgres -f Tests.NHibernate.Spatial.PostGis20\nhsp_test.sql"
114
+ - cmd : ' %psql% -q -p 5432 -U postgres -f Tests.NHibernate.Spatial.PostGis20\nhsp_test.sql'
114
115
115
116
test_script :
116
117
- cmd : dotnet test -c Release --no-build --logger "trx;LogFileName=MsSql2008.trx" --results-directory %APPVEYOR_BUILD_FOLDER% Tests.NHibernate.Spatial.MsSql2008
0 commit comments