Try servant-server coverall
This commit is contained in:
parent
b9ce73fcac
commit
58b2b939d2
2 changed files with 5 additions and 1 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue