Merge pull request #35 from haskell-servant/issue-34/coverage

Add coverage reports
This commit is contained in:
Julian Arni 2017-10-18 11:49:19 -07:00 committed by GitHub
commit fb14b3c7ea

View File

@ -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