Commit c9e7be55 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[gitlab] add .gitlab-ci.yml

parent e2f0f80b
# Thanks to:
# https://vadosware.io/post/zero-to-continuous-integrated-testing-a-haskell-project-with-gitlab/
#
#
image: nixos/nix:latest
variables:
STACK_ROOT: "${CI_PROJECT_DIR}/.stack-root"
STACK_OPTS: "--system-ghc"
#before_script:
#- apt-get update
#- apt-get install make xz-utils
stages:
- test
test:
cache:
# cache per branch name
# key: ${CI_COMMIT_REF_SLUG}
paths:
- .stack-root/
- .stack-work/
script:
- yarn
- nix-shell --run test-ps
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment