From: Dagfinn Ilmari Mannsåker Date: Fri, 25 Jul 2014 14:31:04 +0000 (+0100) Subject: Output the build log on cpanm failure X-Git-Tag: v0.11019~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=66411f23ec12bca70841300264327ce46e03887c;p=dbsrgits%2FSQL-Translator.git Output the build log on cpanm failure --- diff --git a/.travis.yml b/.travis.yml index 0d0e189..669baa6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ env: - PERL_MM_USE_DEFAULT=1 DBICTEST_PG_DSN=dbi:Pg:dbname=sqlt_test DBICTEST_PG_USER=postgres install: - - cpanm --quiet --notest Devel::Cover::Report::Coveralls Module::Install::ReadmeFromPod Module::Install::AuthorTests DBI Package::Variant Parse::RecDescent XML::LibXML XML::Parser YAML Spreadsheet::ParseExcel Template DBD::Pg Graph::Directed GD + - cpanm --quiet --notest Devel::Cover::Report::Coveralls Module::Install::ReadmeFromPod Module::Install::AuthorTests DBI Package::Variant Parse::RecDescent XML::LibXML XML::Parser YAML Spreadsheet::ParseExcel Template DBD::Pg Graph::Directed GD || (cat "$HOME/.cpanm/build.log" >&2; false) - perl Makefile.PL - cpanm --quiet --notest --installdeps .