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 d9d1aab03a
commit e3fb1d3476
No known key found for this signature in database
GPG Key ID: 4243EA839B9CC425

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: