.gitlab-ci.yml 362 Bytes
Newer Older
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
1
2
image: haskell:8.2

3
4
5
6
7
8
9
10
11
# Change stacks global directory to be inside the project directory,
# since we can only cache local dependencies.
variables:
  STACK_ROOT: "$CI_PROJECT_DIR/.stack-root"

cache:
  paths:
    - .stack-root/

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
12
test:
13
  script: stack --no-terminal --system-ghc --no-install-ghc build --test --haddock --no-haddock-deps --bench --no-run-benchmarks