commit 44c51d182ba9f67ed923700d9708525416b47bfc
parent 76c38359008a60645dd0bd04fe37932e601ea069
Author: Jared Tobin <jared@jtobin.ca>
Date: Fri, 4 Mar 2016 09:52:16 +1300
Travis stuff.
Diffstat:
2 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -1,27 +1,22 @@
sudo: false
-language: haskell
+language: c
addons:
apt:
packages:
- libgmp-dev
-matrix:
- include:
- - env: BUILD=cabal GHCVER=7.10.3 CABALVER=1.22
- compiler: ": #GHC 7.10.3"
- addons: {apt: {packages: [cabal-install-1.22, ghc-7.10.3], sources: [hvr-ghc]}}
- - env: BUILD=stack ARGS="--resolver lts-5.1"
- compiler: ": #stack 7.10.3"
- addons: {apt: {packages: [ghc-7.10.3], sources: [hvr-ghc]}}
+env:
+ STACK_YAML: stack-travis.yaml
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'
-script: stack $ARGS --no-terminal --install-ghc test --haddock
+script: stack --no-terminal --install-ghc test --haddock
cache:
directories:
- $HOME/.stack
+
diff --git a/stack-travis.yaml b/stack-travis.yaml
@@ -0,0 +1,8 @@
+flags: {}
+packages:
+- '.'
+extra-deps: []
+resolver: lts-5.1
+compiler: ghc-7.10.3
+system-ghc: false
+install-ghc: true