aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJoris2016-10-29 23:51:12 +0200
committerJoris2016-10-29 23:51:12 +0200
commitcff739998124f40698680fb321f2032bf9ca480b (patch)
treef0f0e25867f0a948093b569fb015410a202634a5 /.gitlab-ci.yml
parent150cdb3bb22303c2061a0aca1471896c28ce57e9 (diff)
Add gitlab CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..0f6b6cc
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,18 @@
+image: haskell:7.10.3
+
+pages:
+ cache:
+ paths:
+ - _cache
+ - .stack
+ before_script:
+ - export STACK_ROOT=`pwd`/.stack
+ - stack install --only-dependencies
+ - stack build
+ script:
+ - stack exec site build
+ artifacts:
+ paths:
+ - public
+ only:
+ - master