commit 43369031c9a6dd5f4523e002a50b7b28689fa5d2 parent 471488fc5d098495048ca53f389d1fd631942086 Author: Jared Tobin <jared@jtobin.ca> Date: Fri, 4 Mar 2016 08:43:40 +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