Fix jdk6 travis build, failed due to TLS 1.2 on maven central

This commit is contained in:
Travis Burtrum 2018-09-21 00:04:07 -04:00
parent 1e9bf0dc5a
commit 185b4eb501

View File

@ -53,7 +53,7 @@ matrix:
- openjdk-6-jdk
script:
# java6 doesn't support ms-sql at all, and doesn't support h2 with ANY
- mvn -B -pl '!test' clean install || travis_terminate 1;
- mvn -Dhttps.protocols=TLSv1.2 -B -pl '!test' clean install || travis_terminate 1;
- mvn -B -pl test clean test -DjdbcMapper.databaseType=BIND --settings .travis-settings.xml -P oracle '-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 -DjdbcMapper.databaseType=BIND -DqueryMapper.databaseType=OPTIMAL --settings .travis-settings.xml -P oracle '-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 -DjdbcMapper.databaseType=ANY '-DjdbcUrl=jdbc:postgresql:test_db' || travis_terminate 1;