Measure code coverage with coveralls.io
This commit is contained in:
parent
38b65f35dc
commit
b88ef1cc92
1 changed files with 11 additions and 0 deletions
11
.travis.yml
11
.travis.yml
|
@ -1,3 +1,14 @@
|
|||
language: haskell
|
||||
|
||||
services:
|
||||
- mongodb
|
||||
|
||||
before_install:
|
||||
- cabal sandbox init && cabal install hpc-coveralls
|
||||
|
||||
script:
|
||||
- cabal configure --enable-tests --enable-library-coverage && cabal build
|
||||
- .cabal-sandbox/bin/run-cabal-test --show-details=always
|
||||
|
||||
after_script:
|
||||
- .cabal-sandbox/bin/hpc-coveralls test --exclude-dir=test
|
||||
|
|
Loading…
Reference in a new issue