use matrix to test against both SQL Server 2016 and 2008
version: '{build}'
environment:
- mssql_jdbc_test_connection_properties: jdbc:sqlserver://localhost:1433;instanceName=SQL2016;databaseName=master;username=sa;password=Password12!;
+ JAVA_HOME: C:\Program Files\Java\jdk1.8.0
+
matrix:
- - JAVA_HOME: C:\Program Files\Java\jdk1.8.0
+ - mssql_jdbc_test_connection_properties: jdbc:sqlserver://localhost:1433;instanceName=SQL2008R2SP2;databaseName=master;username=sa;password=Password12!
+
+ - mssql_jdbc_test_connection_properties: jdbc:sqlserver://localhost:1433;instanceName=SQL2016;databaseName=master;username=sa;password=Password12!;
services:
+ - mssql2008r2sp2
- mssql2016
install:
