forked from enso-org/enso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
22 lines (19 loc) · 821 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
machine:
python:
version: 3.5.2
dependencies:
pre:
- curl -L https://github.com/commercialhaskell/stack/releases/download/v1.3.0/stack-1.3.0-linux-x86_64.tar.gz | tar zx -C /tmp
- sudo mv /tmp/stack-1.3.0-linux-x86_64/stack /usr/bin
override:
- stack build --stack-yaml=shell/stack.yaml --only-dependencies --fast --install-ghc --test --ghc-options="-O0"
cache_directories:
- "~/.stack"
- "shell/.stack-work"
compile:
override:
- stack build --stack-yaml=shell/stack.yaml --fast --test --no-run-tests --no-run-benchmarks --ghc-options="-j2 -O0"
test:
override:
#- if [ "$CIRCLE_BRANCH" == "master" ]; then ~/.local/bin/hlint -XTypeApplications -XRecursiveDo .; fi
- stack build --stack-yaml=shell/stack.yaml --fast --test