[#3645] Let jOOQ require Java 8 - Keep supporting Java 6 in commercial editions
This commit is contained in:
parent
b370a2f8fa
commit
2980c11218
32
.travis.yml
32
.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'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user