-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
41 lines (34 loc) · 933 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
variables:
STORE_DIR: "${CI_PROJECT_DIR}/.cabal-store"
cache:
key: "$CI_JOB_NAME"
paths:
- .cabal-store
- dist-newstyle/cache
before_script:
- apt -qq update
- cabal update
test:8.8:
image: haskell:8.8
script:
- apt -qq -y install build-essential libssl-dev > /dev/null
- cabal --store-dir=$STORE_DIR test
test:8.6:
image: haskell:8.6
script:
- apt -qq -y install build-essential libssl-dev > /dev/null
- cabal --store-dir=$STORE_DIR new-test
test:8.4:
image: haskell:8.4
script:
- apt -qq -y install build-essential libssl-dev > /dev/null
- cabal --store-dir=$STORE_DIR new-test
test:8.2:
image: haskell:8.2
before_script:
- apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 2EAF8B8BB12873F5
- apt -qq update
- cabal update
script:
- apt -qq -y install build-essential libssl-dev > /dev/null
- cabal --store-dir=$STORE_DIR new-test