mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-16 14:18:30 +01:00
We do lose some coverage here. Rather than confirming we build across a slew of GHC versions, the sdist succeeds, etc, we just run the test suite against the Stackage snapshot configured. Stackage snapshots is the direction Haskell is moving, so I think this is an acceptable simplification.
15 lines
422 B
YAML
15 lines
422 B
YAML
dependencies:
|
|
cache_directories:
|
|
- "~/.stack"
|
|
pre:
|
|
- wget https://github.com/commercialhaskell/stack/releases/download/v0.1.6.0/stack-0.1.6.0-linux-x86_64.tar.gz -O /tmp/stack.tar.gz
|
|
- tar xvzOf /tmp/stack.tar.gz stack-0.1.6.0-linux-x86_64/stack > /tmp/stack
|
|
- chmod +x /tmp/stack && sudo mv /tmp/stack /usr/bin/stack
|
|
override:
|
|
- stack setup
|
|
- stack build
|
|
|
|
test:
|
|
override:
|
|
- stack test
|