Created
March 11, 2016 20:51
-
-
Save pbrisbin/d9b81109f159cc1eff7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 --dependencies-only --test | |
test: | |
override: | |
- stack test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment