commit 6821136941e1a4ab771800ed8738d1f4563deaec parent a0563412f624d11edfe44ea43a46befc9a6807cd Author: Jared Tobin <jared@jtobin.ca> Date: Fri, 4 Mar 2016 08:44:09 +1300 Update stack/travis files. Diffstat:
M | .travis.yml | | | 21 | ++++++++++++++++++++- |
M | stack.yaml | | | 8 | +++----- |
2 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/.travis.yml b/.travis.yml @@ -1,2 +1,21 @@ -language: haskell sudo: false +language: haskell + +addons: + apt: + packages: + - libgmp-dev + +env: +- ARGS="--resolver lts-5.1" + +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 + +cache: + directories: + - $HOME/.stack diff --git a/stack.yaml b/stack.yaml @@ -1,7 +1,5 @@ flags: {} packages: - - '.' -extra-deps: - - mwc-probability-1.0.1 - - mcmc-types-1.0.1 -resolver: lts-3.8 +- '.' +extra-deps: [] +resolver: lts-5.1