On 2014-08-22 14:30:46, JONASBN wrote:
Show quoted text> I got this error when testing one of my distribution using Travis CI.
>
> [20:38:57] t/release-kwalitee.t ...... Test::Kwalitee version 1.21
> required--this is only version 1.18 at t/release-kwalitee.t line 13.
> BEGIN failed--compilation aborted at t/release-kwalitee.t line 13.
> [20:38:57] t/release-kwalitee.t ...... Dubious, test returned 255
> (wstat 65280, 0xff00)
> No subtests run
>
> I am unsure the Test::Kwalitee version requirement is specified
> implicitly in the Dist-Zilla-Plugin-Test-Kwalitee distribution?
>
> jonasbn
It's injected into your distribution's 'develop' prerequisites. Your .travis.yml
should be doing something like: 'dzil authordeps --missing | cpanm; dzil listdeps --author --missing | cpanm' to install all the necessary prerequisites.
You also might find this of use:
https://github.com/haarg/perl-travis-helper -- it was recently added to the Moose repository, which fixed a lot of errors we get with travis occasionally:
https://github.com/moose/Moose/commit/bbdd5ec2314a35bbe15fe8cd13fd01a5c6ff42db
However, since this plugin does use Test::Kwalitee right in its own installation tests, I should really declare a test prerequisite - I'll fix that tonight!