From f02913be6af1afd047c33960ff1ed349b6771909 Mon Sep 17 00:00:00 2001 From: ln803631 Date: Fri, 27 Sep 2019 11:59:39 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20fichier=20.yml=20permettant=20de?= =?UTF-8?q?=20lancer=20les=20tests=20sur=20le=20serveur=20gitlab=20(test?= =?UTF-8?q?=20d'int=C3=A9gration)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e2c735f --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +image: openjdk:11 + +variables: + GIT_SSL_NO_VERIFY: "1" + +compileAndTests : +# References to libraries should be managed by any other ways (maven, npm, pip, ...) + before_script: + - ls -la + - mkdir bin + - javac -cp LIB/junit-platform-console-standalone-1.5.1.jar:bin:. -d bin src/*/*.java + - ls bin + - javac -cp LIB/junit-platform-console-standalone-1.5.1.jar:bin:. -d bin tests/*/*.java + script: + - java -jar LIB/junit-platform-console-standalone-1.5.1.jar --class-path bin --scan-class-path + #allow_failure: true + +