Last active
June 29, 2017 09:53
-
-
Save dbp/bef96402ea07001dfed2 to your computer and use it in GitHub Desktop.
Haskell project with Stack on CircleCI
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.2.0/stack-0.1.2.0-x86_64-linux.gz -O /tmp/stack.gz | |
- gunzip /tmp/stack.gz && chmod +x /tmp/stack | |
- sudo mv /tmp/stack /usr/bin/stack | |
override: | |
- stack setup | |
- stack build | |
test: | |
override: | |
- stack test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think is better to use this way: