Merge branch 'gitlab-ci' into 'master'

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

See merge request fsimphy/calendar-webapp!12
This commit is contained in:
Johannes Loher 2017-10-28 12:11:33 +02:00
commit 1e860a5363

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