2015-11-21 19:20:17 +01:00
|
|
|
language: haskell
|
2015-11-21 16:15:55 +01:00
|
|
|
|
2015-11-21 19:20:17 +01:00
|
|
|
sudo: false
|
2015-10-08 22:39:32 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
2015-11-21 19:20:17 +01:00
|
|
|
- $HOME/.stack/
|
2015-10-08 22:39:32 +02:00
|
|
|
|
2015-04-25 12:29:42 +02:00
|
|
|
matrix:
|
2015-10-08 22:39:32 +02:00
|
|
|
include:
|
2015-11-21 19:20:17 +01:00
|
|
|
- env: GHCVER=7.4.2 GHCOPTS=-Werror
|
2015-11-09 19:07:52 +01:00
|
|
|
compiler: ": #GHC 7.4.2"
|
2015-11-21 19:20:17 +01:00
|
|
|
addons: {apt: {packages: [ghc-7.4.2], sources: [hvr-ghc]}}
|
|
|
|
- env: GHCVER=7.6.3 GHCOPTS=-Werror
|
2015-10-08 22:39:32 +02:00
|
|
|
compiler: ": #GHC 7.6.3"
|
2015-11-21 19:20:17 +01:00
|
|
|
addons: {apt: {packages: [ghc-7.6.3], sources: [hvr-ghc]}}
|
|
|
|
- env: GHCVER=7.8.4 GHCOPTS=-Werror
|
2015-10-08 22:39:32 +02:00
|
|
|
compiler: ": #GHC 7.8.4"
|
2015-11-21 19:20:17 +01:00
|
|
|
addons: {apt: {packages: [ghc-7.8.4], sources: [hvr-ghc]}}
|
|
|
|
- env: GHCVER=7.10.2 GHCOPTS=-Werror
|
2015-10-08 22:39:32 +02:00
|
|
|
compiler: ": #GHC 7.10.2"
|
2015-11-21 19:20:17 +01:00
|
|
|
addons: {apt: {packages: [ghc-7.10.2], sources: [hvr-ghc]}}
|
2015-10-08 22:39:32 +02:00
|
|
|
|
2013-07-14 00:15:43 +02:00
|
|
|
before_install:
|
2015-11-21 19:20:17 +01:00
|
|
|
- mkdir -p ~/.local/bin
|
2015-11-21 19:33:16 +01:00
|
|
|
- export STACKVER=0.1.8.0
|
2015-11-21 19:20:17 +01:00
|
|
|
- export PATH=~/.local/bin:/opt/ghc/$GHCVER/bin:$PATH
|
2015-11-21 19:52:08 +01:00
|
|
|
# sanity check:
|
|
|
|
- echo $PATH
|
|
|
|
- which ghc
|
|
|
|
- ghc --version
|
2015-11-21 19:44:09 +01:00
|
|
|
- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v$STACKVER/stack-$STACKVER-linux-x86_64.tar.gz | tar xvzf -
|
2015-11-21 19:33:16 +01:00
|
|
|
- cp stack-$STACKVER-linux-x86_64/stack ~/.local/bin/stack
|
2015-11-21 19:20:17 +01:00
|
|
|
- chmod a+x ~/.local/bin/stack
|
2014-04-09 20:36:50 +02:00
|
|
|
|
|
|
|
install:
|
2015-11-21 19:20:17 +01:00
|
|
|
- stack setup --no-terminal --skip-ghc-check
|
|
|
|
- stack test --only-snapshot --no-terminal --skip-ghc-check
|
2015-11-21 16:15:55 +01:00
|
|
|
|
2013-07-14 00:15:43 +02:00
|
|
|
script:
|
2015-11-21 19:20:17 +01:00
|
|
|
- stack test --no-terminal --skip-ghc-check
|