Enable coveralls

This commit is contained in:
Julian K. Arni 2015-02-19 20:45:42 +01:00
parent 578bda35d9
commit b5f2032f77
2 changed files with 7 additions and 1 deletions

View file

@ -29,9 +29,14 @@ install:
- cabal install --only-dependencies --enable-tests - cabal install --only-dependencies --enable-tests
script: script:
- cabal configure --enable-tests - cabal configure --enable-tests --enable-library-coverage
- cabal build && cabal test - cabal build && cabal test
- cabal sdist - cabal sdist
after_script:
- cabal install hpc-coveralls
- hpc-coveralls --exclude-dir=test spec
notifications: notifications:
irc: irc:
channels: channels:

View file

@ -1,6 +1,7 @@
# servant-server # servant-server
[![Build Status](https://secure.travis-ci.org/haskell-servant/servant-server.svg)](http://travis-ci.org/haskell-servant/servant-server) [![Build Status](https://secure.travis-ci.org/haskell-servant/servant-server.svg)](http://travis-ci.org/haskell-servant/servant-server)
[![Coverage Status](https://coveralls.io/repos/haskell-servant/servant-server/badge.svg)](https://coveralls.io/r/haskell-servant/servant-server)
![servant](https://raw.githubusercontent.com/haskell-servant/servant/master/servant.png) ![servant](https://raw.githubusercontent.com/haskell-servant/servant/master/servant.png)