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