-
Notifications
You must be signed in to change notification settings - Fork 3
/
circle.yml
32 lines (24 loc) · 832 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
23
24
25
26
27
28
29
30
31
# This is a default circle.yml that can be used as
# starting point.
machine:
ghc:
version: 7.10.2
environment:
PATH: $HOME/.cabal/bin:$CIRCLE_ARTIFACTS:$PATH:$HOME/$CIRCLE_PROJECT_REPONAME/.cabal-sandbox/bin
dependencies:
override:
- if cabal --version | grep 1.23.0.0; then echo "Version 1.23.0.0"; else cd ~/ && git clone https://github.com/plow-technologies/cabal.git && cd cabal && cabal --no-require-sandbox install -j2 Cabal/ cabal-install/; fi
- cabal update
- cabal sandbox init
- cabal install --only-dependencies
test:
override:
- cabal install --enable-tests
- cabal configure --enable-tests
- cabal test
## Uncomment this part if you want automatic Hackage uploads.
# deployment:
# staging:
# branch: master
# commands:
# - sh plow-scripts/hackage.sh