From 2980c11218acdccbbf28adbd62be386c6f083427 Mon Sep 17 00:00:00 2001 From: lukaseder Date: Thu, 28 May 2015 16:51:23 +0200 Subject: [PATCH] [#3645] Let jOOQ require Java 8 - Keep supporting Java 6 in commercial editions --- .travis.yml | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8e2e845509..9d8d0b778a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,23 @@ language: java jdk: - oraclejdk8 - - oraclejdk7 - - openjdk6 install: - sh -c 'mvn install -DskipTests=true' - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-examples/jOOQ-spring-example && mvn install -DskipTests=true' || echo "Skipping for JDK6 and 7" - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-examples/jOOQ-spring-boot-example && mvn install -DskipTests=true' || echo "Skipping for JDK6 and 7" - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-examples/jOOQ-flyway-example && mvn install -DskipTests=true' || echo "Skipping for JDK6 and 7" - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-examples/jOOQ-nashorn-example && mvn install -DskipTests=true' || echo "Skipping for JDK6 and 7" - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-examples/jOOQ-vertabelo-example && mvn install -DskipTests=true' || echo "Skipping for JDK6 and 7" - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-examples/jOOQ-spring-guice-example && mvn install -DskipTests=true' || echo "Skipping for JDK6 and 7" - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-test-utils && mvn install -DskipTest=true' || echo "Skipping for JDK6 and 7" - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-test && mvn install -DskipTests=true' || echo "Skipping for JDK6 and 7" + - sh -c 'cd jOOQ-examples/jOOQ-spring-example && mvn install -DskipTests=true' + - sh -c 'cd jOOQ-examples/jOOQ-spring-boot-example && mvn install -DskipTests=true' + - sh -c 'cd jOOQ-examples/jOOQ-flyway-example && mvn install -DskipTests=true' + - sh -c 'cd jOOQ-examples/jOOQ-nashorn-example && mvn install -DskipTests=true' + - sh -c 'cd jOOQ-examples/jOOQ-vertabelo-example && mvn install -DskipTests=true' + - sh -c 'cd jOOQ-examples/jOOQ-spring-guice-example && mvn install -DskipTests=true' + - sh -c 'cd jOOQ-test-utils && mvn install -DskipTest=true' + - sh -c 'cd jOOQ-test && mvn install -DskipTests=true' - sh -c 'cd jOOQ-examples/jOOQ-codegen-gradle && gradle build' script: - sh -c 'mvn test' - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-examples/jOOQ-spring-example && mvn test' || echo "Skipping for JDK6 and 7" - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-examples/jOOQ-spring-boot-example && mvn test' || echo "Skipping for JDK6 and 7" - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-examples/jOOQ-flyway-example && mvn test' || echo "Skipping for JDK6 and 7" - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-examples/jOOQ-nashorn-example && mvn test' || echo "Skipping for JDK6 and 7" - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-examples/jOOQ-vertabelo-example && mvn test' || echo "Skipping for JDK6 and 7" - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-examples/jOOQ-spring-guice-example && mvn test' || echo "Skipping for JDK6 and 7" - - sh -c 'echo $JAVA_HOME | grep -q 8 && cd jOOQ-test && mvn test -Dorg.jooq.test-dialects=h2 -Dorg.jooq.test.pretty-printer=false -Dlog4j.configuration=log4j-quiet.xml' || echo "Skipping for JDK6 and 7" + - sh -c 'cd jOOQ-examples/jOOQ-spring-example && mvn test' + - sh -c 'cd jOOQ-examples/jOOQ-spring-boot-example && mvn test' + - sh -c 'cd jOOQ-examples/jOOQ-flyway-example && mvn test' + - sh -c 'cd jOOQ-examples/jOOQ-nashorn-example && mvn test' + - sh -c 'cd jOOQ-examples/jOOQ-vertabelo-example && mvn test' + - sh -c 'cd jOOQ-examples/jOOQ-spring-guice-example && mvn test' + - sh -c 'cd jOOQ-test && mvn test -Dorg.jooq.test-dialects=h2 -Dorg.jooq.test.pretty-printer=false -Dlog4j.configuration=log4j-quiet.xml'