aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris2016-10-29 23:51:12 +0200
committerJoris2016-10-29 23:51:12 +0200
commitcff739998124f40698680fb321f2032bf9ca480b (patch)
treef0f0e25867f0a948093b569fb015410a202634a5
parent150cdb3bb22303c2061a0aca1471896c28ce57e9 (diff)
downloadcooking-cff739998124f40698680fb321f2032bf9ca480b.tar.gz
cooking-cff739998124f40698680fb321f2032bf9ca480b.tar.bz2
cooking-cff739998124f40698680fb321f2032bf9ca480b.zip
Add gitlab CI
-rw-r--r--.gitlab-ci.yml18
-rw-r--r--Cooking.cabal2
2 files changed, 19 insertions, 1 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
diff --git a/Cooking.cabal b/Cooking.cabal
index 3d1cef5..7fee784 100644
--- a/Cooking.cabal
+++ b/Cooking.cabal
@@ -1,4 +1,4 @@
-name: cooking
+name: Cooking
version: 0.1.0.0
build-type: Simple
cabal-version: >= 1.10