Move nightly compilation to make it cached

This commit is contained in:
patrick brisbin 2017-12-13 17:35:50 -05:00
parent 47ca05c445
commit b69ae969ad
No known key found for this signature in database
GPG Key ID: 4243EA839B9CC425

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