Move nightly compilation to make it cached

This commit is contained in:
patrick brisbin 2017-12-13 17:35:50 -05:00
parent 7ef60e6089
commit 34ae029705

View File

@ -20,11 +20,15 @@ dependencies:
--test --no-run-tests
--flag yesod-auth-oauth2:example
test:
override:
- stack test
# Check compilation with nightly. If this proves problematic, add || true
# after to not fail the build.
- stack setup --resolver nightly
- stack build --resolver nightly --pedantic --test --no-run-tests
- stack build
--resolver nightly
--pedantic
--test --no-run-tests
--flag yesod-auth-oauth2:example
test:
override:
- stack test