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 committed by Stefan Dresselhaus
parent d730ad4ae2
commit 866a35c348
No known key found for this signature in database
GPG Key ID: 057D94F356F41E25

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: