servant/.travis.yml
2015-09-06 09:04:55 -07:00

27 lines
497 B
YAML

sudo: false
addons:
apt:
packages:
- libgmp-dev
env:
- STACK_YAML=stack-ghc-7.8.4.yaml
- STACK_YAML=stack.yaml
install:
# stack
- mkdir -p ~/.local/bin
- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v0.1.4.0/stack-0.1.4.0-x86_64-linux.tar.gz | tar -xvzf -
- mv stack ~/.local/bin
- export PATH=~/.local/bin:$PATH
- stack --version
script:
- stack setup
- stack build
- stack test
cache:
directories:
- $HOME/.stack