Skip to content

Commit

Permalink
Fix #697
Browse files Browse the repository at this point in the history
  • Loading branch information
paf31 committed Nov 18, 2014
1 parent de7c1f1 commit f0e3ebb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ ghc: 7.8
script:
- cabal configure --enable-tests --enable-library-coverage -v2 && cabal build && cabal test
after_script:
- cabal install hpc-coveralls
- hpc-coveralls --exclude-dir=tests tests
- ./coverage.sh
notifications:
email: true
before_deploy: "./bundle/build.sh linux64"
Expand Down
7 changes: 7 additions & 0 deletions coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
set -e

if [ -z $( git describe --tags --exact-match 2>/dev/null ) ]
then
cabal install hpc-coveralls
hpc-coveralls --exclude-dir=tests tests
fi

0 comments on commit f0e3ebb

Please sign in to comment.