From 4d8a8ea711828325371b9ec351021b7739ea06ac Mon Sep 17 00:00:00 2001 From: "Iain R. Learmonth" Date: Tue, 6 Aug 2019 16:08:26 +0100 Subject: [PATCH] Adds GitLab CI for tests and checks Configuration is held in the .gitlab-ci.yml file. Fixes: #31645 --- .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..7abea88 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +variables: + GIT_STRATEGY: clone + +stages: + - test + +test: + stage: test + image: debian:buster + script: + - apt update + - apt -y install default-jdk ant ivy git + - git submodule init + - git submodule update + - mkdir lib + - ant -lib /usr/share/java resolve + - ant test + - ant checks