Commit dbb8901e authored by Daniel Le Berre's avatar Daniel Le Berre

Updated CI for Sat4j 3.0: Java 11+

parent eba76d99
Pipeline #10644 passed with stages
...@@ -7,9 +7,8 @@ variables: ...@@ -7,9 +7,8 @@ variables:
# `installAtEnd` and `deployAtEnd`are only effective with recent version of the corresponding plugins. # `installAtEnd` and `deployAtEnd`are only effective with recent version of the corresponding plugins.
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true" MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
maven36-java11-sonar:
java8-sonar: image: maven:3.6.3-jdk-11-slim
image: maven:3.5.4-jdk-8-alpine
stage: build stage: build
only: only:
- master - master
...@@ -20,8 +19,8 @@ java8-sonar: ...@@ -20,8 +19,8 @@ java8-sonar:
paths: paths:
- .m2/repository - .m2/repository
java8: maven36-java11:
image: maven:3.5.4-jdk-8-alpine image: maven:3.6.3-jdk-11-slim
stage: build stage: build
except: except:
- master - master
...@@ -30,40 +29,9 @@ java8: ...@@ -30,40 +29,9 @@ java8:
cache: cache:
paths: paths:
- .m2/repository - .m2/repository
jars-j8:
image: frekele/ant:1.10.1-jdk8
stage: build
script:
- ant -Drelease=NIGHTLY sat
artifacts:
paths:
- dist/NIGHTLY/*.jar
expire_in: 4 weeks
java7:
image: maven:3.5.4-jdk-7-alpine
stage: test
script:
- mvn $MAVEN_CLI_OPTS clean package -Dmaven.javadoc.skip=true -Djacoco.skip=true
allow_failure: true
maven36-java8:
image: maven:3.6.2-jdk-8-slim
stage: test
script:
- mvn $MAVEN_CLI_OPTS clean package -Dmaven.javadoc.skip=true -Djacoco.skip=true
allow_failure: true
maven36-java11:
image: maven:3.6.2-jdk-11-slim
stage: test
script:
- mvn $MAVEN_CLI_OPTS clean package -Dmaven.javadoc.skip=true -Djacoco.skip=true
allow_failure: true
maven36-java13: maven36-java15:
image: maven:3.6.2-jdk-13 image: maven:3.6.3-openjdk-15
stage: test stage: test
script: script:
- mvn $MAVEN_CLI_OPTS clean package -Dmaven.javadoc.skip=true -Djacoco.skip=true - mvn $MAVEN_CLI_OPTS clean package -Dmaven.javadoc.skip=true -Djacoco.skip=true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment