yesod-auth-oauth2/circle.yml
patrick brisbin 174952fd4f Install test dependencies in build step
This ensures the extra installation doesn't happen in the test step.
Also add a missing --pedantic.
2017-12-14 08:20:16 -05:00

18 lines
500 B
YAML

dependencies:
cache_directories:
- "~/.stack"
pre:
- wget https://github.com/commercialhaskell/stack/releases/download/v1.4.0/stack-1.4.0-linux-x86_64.tar.gz -O /tmp/stack.tar.gz
- tar xvzOf /tmp/stack.tar.gz stack-1.4.0-linux-x86_64/stack > /tmp/stack
- chmod +x /tmp/stack && sudo mv /tmp/stack /usr/bin/stack
override:
- stack setup
- stack build
--pedantic
--test --no-run-tests
--flag yesod-auth-oauth2:example
test:
override:
- stack test