Try servant-server coverall

This commit is contained in:
Julian K. Arni 2015-08-31 14:28:21 -07:00
parent b9ce73fcac
commit 58b2b939d2
2 changed files with 5 additions and 1 deletions

View file

@ -18,6 +18,10 @@ install:
script: script:
- ./scripts/test-all.sh - ./scripts/test-all.sh
after_script:
- cabal install hpc-coveralls
- hpc-coveralls servant-server/test
notifications: notifications:
irc: irc:
channels: channels:

View file

@ -35,7 +35,7 @@ test_each () {
for s in ${SOURCES[@]} ; do for s in ${SOURCES[@]} ; do
echo "Testing $s..." echo "Testing $s..."
pushd "$s" pushd "$s"
$CABAL configure --enable-tests --ghc-options="$GHC_FLAGS" $CABAL configure --enable-tests --enable-library-coverage --ghc-options="$GHC_FLAGS"
$CABAL build $CABAL build
$CABAL test $CABAL test
popd popd