.travis.yml (469B)
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: 18 - stack --no-terminal --install-ghc test --haddock 19 - stack --no-terminal --install-ghc bench 20 21 cache: 22 directories: 23 - $HOME/.stack 24