Using env matrix for testing multiple CMMs on JDK8
language: java
jdk:
- oraclejdk8
-# Removing Oracle JDK 7 for now, as it seems no longer supported by Travis, which is extremely unfortunate
+# Oracle JDK 7 no longer supported, we use env matrix to test various CMM providers
# - oraclejdk7
# Some JPEGImageReader tests fail on OpenJDK, need to investigate/fix before enabling
# - openjdk7
+env:
+ - MVN_OPTS=-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider
+ - MVN_OPTS=""
+cache:
+ directories:
+ - $HOME/.m2
