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