Use OpenJDK7 instead of wrongly relying on OracleJDK7 being the default
@@ -24,10 +24,6 @@ script:
- ./build.sh
after_success:
- "bash ./.travis-deploy.sh"
-# Leave out jdk switch because on the legacy infrastructure this won't work
-# No big deal because oraclejdk7 is the default anyways
-#jdk:
-# - oraclejdk7
env:
global:
- MAVEN_SKIP_RC=true
@@ -108,6 +104,7 @@ matrix:
# eclipselink
################################################
- env: JPAPROVIDER=eclipselink RDBMS=h2
+ jdk: openjdk7
# - env: JPAPROVIDER=eclipselink RDBMS=mysql
# dist: trusty
# sudo: required
@@ -234,10 +231,13 @@ matrix:
# hibernate-4.3
################################################
- env: JPAPROVIDER=hibernate-4.3 RDBMS=h2
+ jdk: openjdk7
- env: JPAPROVIDER=hibernate-4.3 RDBMS=mysql
+ jdk: openjdk7
dist: trusty
sudo: required
- env: JPAPROVIDER=hibernate-4.3 RDBMS=postgresql
+ jdk: openjdk7
addons:
postgresql: "9.3"
- env: JPAPROVIDER=hibernate-4.3 RDBMS=mssql
@@ -246,6 +246,7 @@ matrix:
services:
- docker
- env: JPAPROVIDER=hibernate-4.3 RDBMS=db2
+ jdk: openjdk7
sudo: true
services:
- docker
@@ -263,10 +264,13 @@ matrix:
# hibernate-4.2
################################################
- env: JPAPROVIDER=hibernate RDBMS=h2
+ jdk: openjdk7
- env: JPAPROVIDER=hibernate RDBMS=mysql
+ jdk: openjdk7
dist: trusty
sudo: required
- env: JPAPROVIDER=hibernate RDBMS=postgresql
+ jdk: openjdk7
addons:
postgresql: "9.3"
- env: JPAPROVIDER=hibernate RDBMS=mssql
@@ -275,6 +279,7 @@ matrix:
services:
- docker
- env: JPAPROVIDER=hibernate RDBMS=db2
+ jdk: openjdk7
sudo: true
services:
- docker
