aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-08-21 23:19:29 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-08-21 23:19:42 +0100
commitf0f863865a270d9a508e8c3c273a31764555e60f (patch)
tree0a7b6c4f92763fd32e9f7325634b4cb77c82d631 /.travis.yml
parent6e22df6dd8fbf1504bcedd6a3e77201cf438525d (diff)
[Travis] Run code coverage on 5.24.
Older perl versions can leak the locale decimal point character, leading to invalid JSON being written by Devel::Cover.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 6ecd026f5..de9603218 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -37,11 +37,11 @@ addons:
install:
- .travis/install
- - 'if [ "$TRAVIS_PERL_VERSION" = "5.14" ]; then cpanm --quiet --notest Devel::Cover::Report::Codecov; fi'
+ - 'if [ "$TRAVIS_PERL_VERSION" = "5.24" ]; 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/Email,perllib/Template,^t"; fi'
+ - 'if [ "$TRAVIS_PERL_VERSION" = "5.24" ]; then export HARNESS_PERL_SWITCHES="-MDevel::Cover=+ignore,local/lib/perl5,commonlib,perllib/Catalyst,perllib/DBIx,perllib/Email,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'
+ - 'if [ "$TRAVIS_PERL_VERSION" = "5.24" ]; then cover --report codecov; fi'