Measure code coverage with coveralls.io

This commit is contained in:
Fujimura Daisuke 2014-08-18 15:27:17 +08:00
parent 38b65f35dc
commit b88ef1cc92

View file

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