commit 6dad01d77c716758928d21ee69523fd781c60479 parent 6233d811f897b7190570ea7b9dad78bfe939cd83 Author: Jared Tobin <jared@jtobin.ca> Date: Thu, 3 Mar 2016 22:16:04 +1300 Update travis config. Diffstat:
M | .travis.yml | | | 21 | ++++++++++++++++++++- |
1 file changed, 20 insertions(+), 1 deletion(-)
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