add travis
This commit is contained in:
parent
799d15524e
commit
4d586d0175
1 changed files with 15 additions and 0 deletions
15
.travis.yml
Normal file
15
.travis.yml
Normal 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
|
Loading…
Reference in a new issue