3 source maint/travis-ci_scripts/common.bash
4 if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] ; then return ; fi
6 if [[ "$CLEANTEST" != "true" ]] ; then
7 run_or_err "Install Pod::POM separately via cpan" "cpan -f -i Pod::POM || perl -MPod::POM -e 1"
8 parallel_installdeps_notest $(perl -Ilib -MDBIx::Class -e 'print join " ", keys %{DBIx::Class::Optional::Dependencies->req_list_for("dist_dir")}')
9 run_or_err "Attempt to build a dist with all prereqs present" "make dist"
10 echo "Contents of the resulting dist tarball:"
11 echo "==========================================="
12 tar -vzxf DBIx-Class-*.tar.gz
13 echo "==========================================="
14 run_or_err 'Attempt to configure from re-extracted distdir' \
15 'bash -c "cd \$(find DBIx-Class-* -maxdepth 0 -type d | head -n 1) && perl Makefile.PL"'