From 3bb274fa83d9f60ac1f0c792b8b7380b619a19f3 Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Tue, 22 May 2018 00:20:33 -0400 Subject: [PATCH] travis-ci test databases supporting bind (all), any (h2 java8+, postgres), oracle, unnest (hsql) all seperately --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3998fec..eabfaf4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,8 @@ before_script: script: - docker ps -a - mvn -B -pl '!test' clean install || travis_terminate 1; - - mvn -B -pl test clean test '-DjdbcUrl1=jdbc:postgresql:test_db' '-DjdbcUrl2=jdbc:mariadb://127.0.0.1:3306/test_db?user=root' '-DjdbcUrl3=jdbc:sqlserver://localhost:1433;databaseName=master;username=sa;password=;' || travis_terminate 1; + - mvn -B -pl test clean test -P bind '-DjdbcUrl1=jdbc:postgresql:test_db' '-DjdbcUrl2=jdbc:mariadb://127.0.0.1:3306/test_db?user=root' '-DjdbcUrl3=jdbc:oracle:thin:travis_test/travis_test@127.0.0.1:1521/xe' '-DjdbcUrl4=jdbc:sqlserver://localhost:1433;databaseName=master;username=sa;password=;' || travis_terminate 1; + - mvn -B -pl test clean test -P any '-DjdbcUrl=h2' '-DjdbcUrl1=jdbc:postgresql:test_db' || travis_terminate 1; - mvn -B -pl test clean test --settings .travis-settings.xml -P oracle '-DjdbcUrl=jdbc:oracle:thin:travis_test/travis_test@127.0.0.1:1521/xe' || travis_terminate 1; - mvn -B -pl test clean test -P unnest '-DjdbcUrl=hsqldb' || travis_terminate 1; @@ -45,7 +46,8 @@ matrix: - openjdk-6-jdk script: - mvn -B -pl '!test' clean install || travis_terminate 1; - - mvn -B -pl test clean test '-DjdbcUrl1=jdbc:postgresql:test_db' '-DjdbcUrl2=jdbc:mariadb://127.0.0.1:3306/test_db?user=root' || travis_terminate 1; + - mvn -B -pl test clean test -P bind '-DjdbcUrl1=jdbc:postgresql:test_db' '-DjdbcUrl2=jdbc:mariadb://127.0.0.1:3306/test_db?user=root' '-DjdbcUrl3=jdbc:oracle:thin:travis_test/travis_test@127.0.0.1:1521/xe' || travis_terminate 1; + - mvn -B -pl test clean test -P any '-DjdbcUrl=jdbc:postgresql:test_db' || travis_terminate 1; - mvn -B -pl test clean test --settings .travis-settings.xml -P oracle '-DjdbcUrl=jdbc:oracle:thin:travis_test/travis_test@127.0.0.1:1521/xe' || travis_terminate 1; - mvn -B -pl test clean test -P unnest '-DjdbcUrl=hsqldb' || travis_terminate 1; jdk: openjdk6