mirror of
https://github.com/IHaskell/IHaskell.git
synced 2025-04-24 17:06:07 +00:00

This should make the build faster and more reliable, and hopefully ressurect the test suite.
33 lines
639 B
YAML
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
|