.travis.yml (421B)
1 sudo: false 2 language: c 3 4 addons: 5 apt: 6 packages: 7 - libgmp-dev 8 9 env: 10 STACK_YAML: stack-travis.yaml 11 12 before_install: 13 - mkdir -p ~/.local/bin 14 - export PATH=$HOME/.local/bin:$PATH 15 - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' 16 17 script: stack --no-terminal --install-ghc test --haddock 18 19 cache: 20 directories: 21 - $HOME/.stack 22