simplify appveyor configuration
version: '{build}'
init:
- - cmd: net start %SQL%
+ - cmd: net start MSSQL$%SQL_Instance%
environment:
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
+ mssql_jdbc_test_connection_properties: jdbc:sqlserver://localhost:1433;instanceName=%SQL_Instance%;databaseName=master;username=sa;password=Password12!;
matrix:
- - SQL: MSSQL$SQL2008R2SP2
- mssql_jdbc_test_connection_properties: jdbc:sqlserver://localhost:1433;instanceName=SQL2008R2SP2;databaseName=master;username=sa;password=Password12!;
-
- - SQL: MSSQL$SQL2016
- mssql_jdbc_test_connection_properties: jdbc:sqlserver://localhost:1433;instanceName=SQL2016;databaseName=master;username=sa;password=Password12!;
+ - SQL_Instance: SQL2008R2SP2
+ - SQL_Instance: SQL2016
install:
- ps: Write-Host 'Installing JCE with powershell'
