From cb4555d6bae0d42ab308f9102c3501b7468ab2a9 Mon Sep 17 00:00:00 2001 From: "Julian K. Arni" Date: Wed, 18 Oct 2017 11:30:13 -0700 Subject: [PATCH] Add coverage reports --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3374614..ebd45cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,12 @@ script: - stack test --ghc-options=-Werror --no-terminal --coverage - stack haddock --no-terminal +after_script: + # SHC only has a build for 8.0.1, not above + - if [ "$STACK_YAML" == stack-lts-7.yaml ] + - travis_retry curl -L https://github.com/rubik/stack-hpc-coveralls/releases/download/v0.0.4.0/shc-linux-x64-8.0.1.tar.bz2 | tar -xj + - ./shc servant-quickcheck spec + cache: directories: - $HOME/.stack