Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (18 sloc) 486 Bytes
language: haskell
branches:
only:
- master
sudo: false
cache:
directories:
- $HOME/.stack/
before_install:
- mkdir -p ~/.local/bin
- export PATH=~/.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'
- chmod a+x ~/.local/bin/stack
install:
- stack +RTS -N2 -RTS setup
- stack +RTS -N2 -RTS build --only-snapshot
script:
- stack +RTS -N2 -RTS build --test