Skip to content

Instantly share code, notes, and snippets.

@athanclark
Created October 10, 2016 23:35
Show Gist options
  • Select an option

  • Save athanclark/c13dc4b24d4d0d2569929fc1d4e8dbbb to your computer and use it in GitHub Desktop.

Select an option

Save athanclark/c13dc4b24d4d0d2569929fc1d4e8dbbb to your computer and use it in GitHub Desktop.
dependencies:
cache_directories:
- "~/.stack"
pre:
- wget https://github.com/commercialhaskell/stack/releases/download/v1.2.0/stack-1.2.0-linux-x86_64.tar.gz -O /tmp/stack.tar.gz
- mkdir /tmp/stack/
- tar -xvzf /tmp/stack.tar.gz -C /tmp/stack/
- sudo mv /tmp/stack/stack-1.2.0-linux-x86_64/stack /usr/bin/stack
override:
- stack build --no-system-ghc --install-ghc
test:
override:
- stack test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment