From 24ccbadb0f98b6c80e5655960142c1cf55f23db4 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Thu, 16 May 2019 19:02:35 +0200
Subject: [PATCH] test checking compilation compatibility with java 11

---
 .gitlab-ci.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d9b43069fc..aa4fe3c509 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -209,6 +209,17 @@ build_war:
     - ant maven-build
     - cp web/target/web-1.0.war minerva.war
 
+java_11_compatibility:
+  image: maven:3.6-jdk-11
+  stage: test
+  script:
+    - apt-get update
+    - apt-get install -y curl gnupg git ant
+    - curl -sL https://deb.nodesource.com/setup_9.x | bash -
+    - apt-get install -y nodejs
+
+    - mvn clean install -DskipTests=true
+
 dependency_conflict_check:
   image: maven:3.6.0-jdk-8
   stage: test
-- 
GitLab