Commit 4f3ba882 authored by Romain WALLON's avatar Romain WALLON

Configures CI to run tests

parent 1bcf9303
Pipeline #6858 passed with stages
in 61 minutes and 21 seconds
......@@ -8,12 +8,50 @@ variables:
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
java8:
image: maven:3.5.4-jdk-8-alpine
stage: build
script:
- mvn $MAVEN_CLI_OPTS clean org.jacoco:jacoco-maven-plugin:prepare-agent --settings settings.xml deploy
- mvn $MAVEN_CLI_OPTS sonar:sonar
cache:
paths:
- .m2/repository
jars-j8:
image: frekele/ant:1.10.1-jdk8
stage: build
script:
- ant -Drelease=NIGHTLY kth
script:
- ant -Drelease=NIGHTLY sat
artifacts:
paths:
- dist/NIGHTLY/sat4j-kth.jar
- 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:
image: maven:3.6.2-jdk-13
stage: test
script:
- mvn $MAVEN_CLI_OPTS clean package -Dmaven.javadoc.skip=true -Djacoco.skip=true
allow_failure: 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