From b88ef1cc929416914e858ef282bb17bcc2ffe5ca Mon Sep 17 00:00:00 2001 From: Fujimura Daisuke Date: Mon, 18 Aug 2014 15:27:17 +0800 Subject: [PATCH] Measure code coverage with coveralls.io --- .travis.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7a22b05..1587db1 100644 --- a/.travis.yml +++ b/.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