commit 48834b9364b534bf2a44adb3abcba4a116d1c160 parent 3391ec970f6c8b0d5cc3ff6e1485ea2aae316a19 Author: Jared Tobin <jared@jtobin.ca> Date: Fri, 4 Mar 2016 09:46:23 +1300 Travis stuff. Diffstat:
M | .travis.yml | | | 13 | ++++--------- |
A | stack-travis.yaml | | | 8 | ++++++++ |
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/.travis.yml b/.travis.yml @@ -1,27 +1,22 @@ sudo: false -language: c +language: haskell addons: apt: packages: - libgmp-dev -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]}} +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 - - $HOME/.ghc - - $HOME/.cabal 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