From 16981eaf655402ae6ba5e14c495cdb4f914f972f Mon Sep 17 00:00:00 2001 From: "Francisco J. Ossandon" Date: Sun, 16 Nov 2014 19:59:34 -0300 Subject: [PATCH] Coveralls report finally worked but only some jobs can finish on time, which generates an error status. Nevertheless, the coverage report is now available at https://coveralls.io/r/bioperl/bioperl-live, so I'm deactivating it for now but leaving the badge on the README. --- .travis.yml | 8 ++++---- README.md | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 62e50c7118..233a26fa03 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ install: - "cpanm Test::Weaken | tail -n 1" - "cpanm Test::Memory::Cycle | tail -n 1" #Test coverage from Coveralls - - cpanm --quiet --notest Devel::Cover::Report::Coveralls + #- cpanm --quiet --notest Devel::Cover::Report::Coveralls #for some reason tests and deps aren't skipped here. Will have to look into it more... #git repos, seems to only work for simple checkouts, so pure perl only (TODO: look into before_script for more detail) - "git clone https://github.com/bioperl/Bio-Root.git; export PERL5LIB=$( pwd )/Bio-Root/lib:$PERL5LIB" @@ -35,11 +35,11 @@ install: - "perl ./Build.PL --accept" script: - #- "./Build test" + - "./Build test" #Devel::Cover coverage options are: statement, branch, condition, path, subroutine, pod, time, all and none #- "./Build build && cover -test -report coveralls" #complete version coverage test - - PERL5OPT=-MDevel::Cover=+ignore,prove,-coverage,statement,subroutine prove -lr t #limited version coverage test - - cover -report coveralls + #- PERL5OPT=-MDevel::Cover=+ignore,prove,-coverage,statement,subroutine prove -lr t #limited version coverage test + #- cover -report coveralls #TODO - send emails to bioperl-guts-l notifications: diff --git a/README.md b/README.md index 59bcb0c099..13914cb592 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.org/bioperl/bioperl-live.svg?branch=master)](https://travis-ci.org/bioperl/bioperl-live) +[![Coverage Status](https://coveralls.io/repos/bioperl/bioperl-live/badge.png?branch=master)](https://coveralls.io/r/bioperl/bioperl-live?branch=master) # Getting Started