Skip to content

Commit

Permalink
Added coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Jul 1, 2014
1 parent 935b670 commit a14c032
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Expand Up @@ -10,3 +10,15 @@ before_script:
- mysql -e 'create database lystyng;'
- mysql -D lystyng < db/lystyng.sql

install:
- export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=c HARNESS_TIMER=1
- cpanm --quiet --notest Devel::Cover::Report::Coveralls
- cpanm --quiet --notest --installdeps .

script:
- PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -lrsv t
- cover

after_success:
- cover -report coveralls

2 changes: 2 additions & 0 deletions README.md
@@ -1,3 +1,5 @@
Code for lystyng.com.

Here's our current build status, which is hopefully green: [![Build Status](https://travis-ci.org/davorg/lystyng.png?branch=master)](http://travis-ci.org/davorg/lystyng)

Here's our test coverage: [![Coverage Status](https://img.shields.io/coveralls/davorg/lystyng.svg)](https://coveralls.io/r/davorg/lystyng)

0 comments on commit a14c032

Please sign in to comment.