From 51be1c86ae6876415bbcf4192132a72ad57a7965 Mon Sep 17 00:00:00 2001 From: Joshua Clayton Date: Wed, 11 May 2016 22:51:06 -0400 Subject: [PATCH] Test unused on TravisCI --- .travis.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..27e8ba0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +language: haskell + +sudo: false +cache: + directories: + - $HOME/.stack/ + +matrix: + include: + - env: CABALVER=1.22 GHCVER=7.10.3 + addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3],sources: [hvr-ghc]}} + +before_install: + - mkdir -p ~/.local/bin + - export PATH=~/.local/bin:$PATH + - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar -xzO --wildcards '*/stack' > ~/.local/bin/stack + - chmod a+x ~/.local/bin/stack + +install: + - stack -j 2 setup --no-terminal + - stack -j 2 build --only-snapshot --no-terminal + +script: + - stack -j 2 build --no-terminal + - stack test --no-terminal