diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-07-10 13:34:32 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-07-11 16:57:16 +0100 |
commit | 22226c7893167ebdb86363587cd1635a9b717ece (patch) | |
tree | f952820054c87ca733b0fba96f9b526cc325225a /.travis.yml | |
parent | 576db4e264535fecfcf6b5180e0b41091cb85f47 (diff) |
Add CodeCov coverage testing.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 8abd9d5ea..bee36bc70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,8 +37,11 @@ addons: install: - .travis/install + - 'if [ "$TRAVIS_PERL_VERSION" = "5.14" ]; then cpanm --quiet --notest Devel::Cover::Report::Codecov; fi' before_script: - commonlib/bin/gettext-makemo FixMyStreet + - 'if [ "$TRAVIS_PERL_VERSION" = "5.14" ]; then export HARNESS_PERL_SWITCHES="-MDevel::Cover=+ignore,local/lib/perl5,commonlib,perllib/Catalyst,perllib/DBIx,perllib/Template,^t"; fi' script: "script/test --jobs 3 t" after_success: - .travis/after_script + - 'if [ "$TRAVIS_PERL_VERSION" = "5.14" ]; then cover --report codecov; fi' |