Enable coveralls
This commit is contained in:
parent
f62bb79da1
commit
2da16c751a
2 changed files with 13 additions and 0 deletions
12
.travis.yml
12
.travis.yml
|
@ -8,6 +8,18 @@ before_install:
|
||||||
- cabal sandbox init
|
- cabal sandbox init
|
||||||
- cabal sandbox add-source servant/
|
- cabal sandbox add-source servant/
|
||||||
|
|
||||||
|
install:
|
||||||
|
- cabal install --only-dependencies --enable-tests
|
||||||
|
|
||||||
|
script:
|
||||||
|
- cabal configure --enable-tests --enable-library-coverage
|
||||||
|
- cabal build && cabal test
|
||||||
|
- cabal check
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- cabal install hpc-coveralls
|
||||||
|
- hpc-coveralls --exclude-dir=test spec
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
channels:
|
channels:
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# servant-jquery
|
# servant-jquery
|
||||||
|
|
||||||
[![Build Status](https://secure.travis-ci.org/haskell-servant/servant-jquery.svg)](http://travis-ci.org/haskell-servant/servant-jquery)
|
[![Build Status](https://secure.travis-ci.org/haskell-servant/servant-jquery.svg)](http://travis-ci.org/haskell-servant/servant-jquery)
|
||||||
|
[![Coverage Status](https://coveralls.io/repos/haskell-servant/servant-jquery/badge.svg)](https://coveralls.io/r/haskell-servant/servant-jquery)
|
||||||
|
|
||||||
![servant](https://raw.githubusercontent.com/haskell-servant/servant/master/servant.png)
|
![servant](https://raw.githubusercontent.com/haskell-servant/servant/master/servant.png)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue