servant/.travis.yml

27 lines
513 B
YAML
Raw Normal View History

2015-09-06 06:39:40 +02:00
sudo: false
2014-12-02 17:24:10 +01:00
2015-09-06 06:39:40 +02:00
addons:
apt:
packages:
- libgmp-dev
2015-04-20 19:52:29 +02:00
2015-09-06 06:39:40 +02:00
env:
- STACK_YAML=stack-ghc-7.8.4.yaml
- STACK_YAML=stack.yaml
2014-12-02 17:45:24 +01:00
2015-04-20 13:38:25 +02:00
install:
2015-09-06 06:39:40 +02:00
# 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
2015-04-20 13:38:25 +02:00
2015-01-29 01:18:16 +01:00
script:
2015-09-06 06:39:40 +02:00
- stack setup
- stack build --test --ghc-options "-Werror"
2015-02-19 20:32:05 +01:00
2015-09-06 06:39:40 +02:00
cache:
directories:
- $HOME/.stack