Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added coverage

  • Loading branch information...
commit a14c032b11f6db32854c320bc40ef84a8bbb459f 1 parent 935b670
Dave Cross authored
Showing with 14 additions and 0 deletions.
  1. +12 −0 .travis.yml
  2. +2 −0  README.md
12 .travis.yml
View
@@ -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  README.md
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.