git.iko.soy/typeable/mandrill
on master help sign in
Adding experimental HPC coverage via coverall
commit75f1a7a41fee1e641d45f49095d692ada909c897 authorAlfredo Di Napoli <alfredo.dinapoli@gmail.com> dateSat 6 Sep 2014, 14:44 (12 years ago) parenta1aa7d8
2 files changed+5−3
.travis.yml+5−1 test/Tests.hs−2
.travis.yml+5−1
@@ -21,6 +21,7 @@ before_install:
2121 - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER
2222 - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
2323 - cabal --version
24+ - cabal install hpc-coveralls
2425
2526install:
2627 - cabal update
@@ -41,4 +42,7 @@ script:
4142 else
4243 echo "expected '$SRC_TGZ' not found";
4344 exit 1;
44− fi
45+ fi
46+
47+after_script:
48+ - hpc-coveralls mandrill-tests
test/Tests.hs−2
@@ -1,9 +1,7 @@
11{-# LANGUAGE CPP #-}
22module Tests where
33
4−import Test.QuickCheck
54import Test.Tasty.HUnit
6−import Text.RawString.QQ
75import Data.Either
86import Data.Aeson
97import Network.API.Mandrill.Messages.Types