.gitlab-ci.yml 587 Bytes
Newer Older
1 2 3 4 5 6 7 8
variables:
  STACK_ROOT: "${CI_PROJECT_DIR}/.stack"

cache:
  key: "$CI_JOB_NAME"
  paths:
    - .stack

Toralf Wittner's avatar
Toralf Wittner committed
9
before_script:
10 11
  - apt -qq update
  - stack upgrade && hash -d stack && stack --version
12
  - stack clean --full
Toralf Wittner's avatar
Toralf Wittner committed
13

14
test:8.4:
15
  image: haskell:8.4
16
  script:
17
    - stack -j 1 --resolver lts-12.6 test --fast
18

19 20
test:8.2:
  image: haskell:8.2
21
  script:
22
    - stack -j 1 --resolver lts-11.21 test --fast
23

24 25
test:8.0:
  image: haskell:8.0
Toralf Wittner's avatar
Toralf Wittner committed
26
  script:
27
    - apt -qq install build-essential netbase xz-utils libstdc++-4.9-dev libssl-dev > /dev/null
28
    - stack -j 1 --resolver lts-9.21 test --fast
Toralf Wittner's avatar
Toralf Wittner committed
29