forked from positiondev/fn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
29 lines (26 loc) · 1.01 KB
/
circle.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
machine:
environment:
LANG: C.UTF-8
dependencies:
cache_directories:
- "~/.stack"
- "~/fn/.stack-work"
pre:
- wget https://get.haskellstack.org/stable/linux-x86_64.tar.gz -O /tmp/stack.tar.gz
- tar xvzf /tmp/stack.tar.gz -C /tmp
- sudo mv /tmp/stack-*/stack /usr/local/bin/stack
override:
- stack setup --stack-yaml stack-12.11.yaml
- stack setup --stack-yaml stack-8.15.yaml
- stack build --jobs=4 --stack-yaml stack-12.11.yaml
- stack test fn --no-run-tests --stack-yaml stack-12.11.yaml
- stack test fn-example --no-run-tests --stack-yaml stack-12.11.yaml
- stack build --jobs=4 --stack-yaml stack-8.15.yaml
- stack test fn --no-run-tests --stack-yaml stack-8.15.yaml
- stack test fn-example --no-run-tests --stack-yaml stack-8.15.yaml
test:
override:
- stack test fn --stack-yaml stack-12.11.yaml
- stack test fn-example --stack-yaml stack-12.11.yaml
- stack test fn --stack-yaml stack-8.15.yaml
- stack test fn-example --stack-yaml stack-8.15.yaml