IHaskell/.travis.yml
Andrew Gibiansky fa059316df Rewrite .travis.yml to use containers and stack.
This should make the build faster and more reliable,
and hopefully ressurect the test suite.
2016-06-07 18:31:52 -07:00

33 lines
639 B
YAML

# Test against different stack LTS versions.
env:
- LTS=6.2 # Most recent GHC 7.10 LTS
- LTS=2.22 # Last GHC 7.8 LTS
# Enable caching.
sudo: false
# Caching so the next build will be fast too.
cache:
directories:
- $HOME/.ghc
- $HOME/.cabal
- $HOME/.stack
before_install:
# Download and unpack the stack executable
- export PATH=$HOME/.local/bin:$PATH
- mkdir -p ~/.local/bin
- curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
addons:
apt:
packages:
- libmagic-dev
- zeromq3
install:
- stack build
script:
- stack test