servant/.travis.yml
Julian K. Arni 7e3fdd6614 Use --ghc-options rather than --pendantic.
The latter seems to override cabal.
2015-09-23 20:18:52 +02:00

27 lines
521 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 --ghc-options "-Werror"
- stack test
cache:
directories:
- $HOME/.stack