X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=maint%2Ftravis-ci_scripts%2F50_after_success.bash;h=fc94fcebdd957528fe442bb0a8aa8869900cec00;hb=2b32a0200f177727ed4d28d6bdc70d269226b85f;hp=9221433c9847812dc783a6af9c766f24e2fc96bc;hpb=7343c211264186d80a2c75c4bc5e8a0749fd5779;p=dbsrgits%2FDBIx-Class.git diff --git a/maint/travis-ci_scripts/50_after_success.bash b/maint/travis-ci_scripts/50_after_success.bash index 9221433..fc94fce 100755 --- a/maint/travis-ci_scripts/50_after_success.bash +++ b/maint/travis-ci_scripts/50_after_success.bash @@ -1,14 +1,14 @@ #!/bin/bash -source maint/travis-ci_scripts/common.bash if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] ; then return ; fi if [[ "$CLEANTEST" != "true" ]] ; then - run_or_err "Install Pod::POM separately via cpan" "cpan -f -i Pod::POM || perl -MPod::POM -e 1" parallel_installdeps_notest $(perl -Ilib -MDBIx::Class -e 'print join " ", keys %{DBIx::Class::Optional::Dependencies->req_list_for("dist_dir")}') run_or_err "Attempt to build a dist with all prereqs present" "make dist" echo "Contents of the resulting dist tarball:" echo "===========================================" - tar -ztf DBIx-Class-*.tar.gz + tar -vzxf DBIx-Class-*.tar.gz echo "===========================================" + run_or_err 'Attempt to configure from re-extracted distdir' \ + 'bash -c "cd \$(find DBIx-Class-* -maxdepth 0 -type d | head -n 1) && perl Makefile.PL"' fi