From 59ecb327e71c1133f2c2e1f55f26d03513104bcb Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Sat, 28 Oct 2017 11:58:23 +0200 Subject: [PATCH] Added initial .gitlab-ci.yml to automatically test builds --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..538b6f8 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +image: base/devel + +before_script: + - pacman -Sy + - pacman --noconfirm -S ldc dub libevent + +stages: + - build + - test + +build: + stage: build + script: + - dub build --compiler=ldc2 + +test: + stage: test + script: + - dub test --compiler=ldc2