@@ -61,10 +61,11 @@ install:
61
61
- cmd : xcopy /s /y /q postgis-bundle-pg96-2.3.2x64 "C:\Program Files\PostgreSQL\9.6"
62
62
63
63
# start services required for build/tests
64
- services :
64
+ # NOTE: Services are now started in "before_test" section as services are not available on Ubuntu image
65
+ # services:
65
66
# - mysql56 # start MySQL 5.6
66
67
# - mysql57 # start MySQL 5.7
67
- - postgresql96 # start PostgreSQL 9.6
68
+ # - postgresql96 # start PostgreSQL 9.6
68
69
69
70
# ---------------------------------#
70
71
# build configuration #
@@ -97,11 +98,13 @@ before_test:
97
98
- cmd : sqlcmd -S (local)\SQL2012SP1 -i Tests.NHibernate.Spatial.MsSql2012\nhsp_test.sql
98
99
99
100
# setup MySQL 5.6
101
+ # - cmd: net start mysql56
100
102
# - cmd: SET MYSQL_PWD=Password12!
101
103
# - cmd: SET mysql="C:\Program Files\MySQL\MySQL Server 5.6\bin\mysql.exe"
102
104
# - cmd: '%mysql% -P 3306 -u root < Tests.NHibernate.Spatial.MySQL\nhsp_test.sql'
103
105
104
106
# setup MySQL 5.7
107
+ # - cmd: net start mysql57
105
108
# - cmd: SET mysql="C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe"
106
109
# - cmd: '%mysql% -P 3307 -u root < Tests.NHibernate.Spatial.MySQL57\nhsp_test.sql'
107
110
@@ -110,6 +113,7 @@ before_test:
110
113
- cmd : ' %psql% -q -p 5431 -U postgres -f Tests.NHibernate.Spatial.PostGis\nhsp_test.sql'
111
114
112
115
# setup PostgreSQL 9.6
116
+ - cmd : net start postgresql-x64-9.6
113
117
- cmd : SET psql="C:\Program Files\PostgreSQL\9.6\bin\psql.exe"
114
118
- cmd : ' %psql% -q -p 5432 -U postgres -f Tests.NHibernate.Spatial.PostGis20\nhsp_test.sql'
115
119
0 commit comments