commit 3391ec970f6c8b0d5cc3ff6e1485ea2aae316a19
parent 60b1e74d55dc3db3d9e70cb041fd0be3a14cde46
Author: Jared Tobin <jared@jtobin.ca>
Date: Fri, 4 Mar 2016 09:14:49 +1300
Travis tweaking.
Diffstat:
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -1,25 +1,27 @@
sudo: false
-language: haskell
+language: c
addons:
apt:
- sources:
- - hvr-ghc
packages:
- libgmp-dev
- - ghc-7.10.3
-env:
-- ARGS="--resolver lts-5.1"
+matrix:
+ include:
+ - env: BUILD=stack ARGS="--resolver lts-5.1"
+ compiler: ": #stack 7.10.3"
+ addons: {apt: {packages: [ghc-7.10.3], sources: [hvr-ghc]}}
before_install:
- mkdir -p ~/.local/bin
- export PATH=$HOME/.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'
-- export PATH=/opt/ghc/7.10.3/bin:$PATH
script: stack $ARGS --no-terminal --install-ghc test --haddock
cache:
directories:
- $HOME/.stack
+ - $HOME/.ghc
+ - $HOME/.cabal
+