Install test dependencies in build step

This ensures the extra installation doesn't happen in the test step.
Also add a missing --pedantic.
This commit is contained in:
patrick brisbin 2017-12-13 08:28:09 -05:00
parent bf05c8a13c
commit 174952fd4f

View File

@ -7,7 +7,10 @@ dependencies:
- chmod +x /tmp/stack && sudo mv /tmp/stack /usr/bin/stack
override:
- stack setup
- stack build --flag yesod-auth-oauth2:example
- stack build
--pedantic
--test --no-run-tests
--flag yesod-auth-oauth2:example
test:
override: