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