From: Peter Rabbitson Date: Fri, 24 Jan 2014 04:55:24 +0000 (+0100) Subject: Check that the just-built-distdir is configure-able in usermode X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6a0cbc5893855f4ff60128b2fd59368351dcbda6;p=dbsrgits%2FDBIx-Class-Historic.git Check that the just-built-distdir is configure-able in usermode --- diff --git a/maint/travis-ci_scripts/50_after_success.bash b/maint/travis-ci_scripts/50_after_success.bash index 9221433..7a8c912 100755 --- a/maint/travis-ci_scripts/50_after_success.bash +++ b/maint/travis-ci_scripts/50_after_success.bash @@ -9,6 +9,8 @@ if [[ "$CLEANTEST" != "true" ]] ; then 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