forked from freckle/postgrep
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
24 lines (21 loc) · 755 Bytes
/
circle.yml
File metadata and controls
24 lines (21 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
machine:
environment:
PATH: "$HOME/.local/bin:$PATH"
STACK_VERSION: 1.1.2
general:
artifacts:
- "~/postgrep/postgrep-conduit/bench-output.html"
dependencies:
pre:
- mkdir -p ~/.local/bin
- curl -L https://github.com/commercialhaskell/stack/releases/download/v$STACK_VERSION/stack-$STACK_VERSION-linux-x86_64.tar.gz | tar -xzv -C ~/.local/bin && ln -vsf ~/.local/bin/stack-*/stack ~/.local/bin/stack
cache_directories:
- "~/.stack"
- "~/postgrep/.stack-work"
override:
- stack setup
- stack build --pedantic --only-dependencies --test --no-run-tests --bench --no-run-benchmarks --jobs=1
test:
override:
- stack test --jobs=1
- stack bench --jobs=1 --benchmark-arguments "--output=bench-output.html"