add travis

This commit is contained in:
Jon Schoning 2016-06-20 15:13:49 -05:00
parent 799d15524e
commit 4d586d0175

15
.travis.yml Normal file
View file

@ -0,0 +1,15 @@
sudo: false
language: c
addons:
apt:
packages:
- libgmp-dev
before_install:
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
script:
- stack --install-ghc test
cache:
directories:
- $HOME/.stack