Added initial .gitlab-ci.yml to automatically test builds

This commit is contained in:
Johannes Loher 2017-10-28 11:58:23 +02:00
parent 74805e1e41
commit 59ecb327e7
1 changed files with 19 additions and 0 deletions

19
.gitlab-ci.yml Normal file
View File

@ -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