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'