#!/bin/bash
-source maint/travis-ci_scripts/common.bash
if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] ; then return ; fi
# poison the environment
export DBI_DSN="dbi:ODBC:server=NonexistentServerAddress"
export DBI_DRIVER="ADO"
+ # some people do in fact set this - boggle!!!
+ export PERL_STRICTURES_EXTRA=1
# emulate a local::lib-like env
# trick cpanm into executing true as shell - we just need the find+unpack
#
installdeps 'SQL::Abstract~<1.99'
- elif ! CPAN_is_sane ; then
- # no configure_requires - we will need the usual suspects anyway
- # without pre-installing these in one pass things like extract_prereqs won't work
- installdeps ExtUtils::MakeMaker ExtUtils::CBuilder Module::Build
+ else
+
+ if ! CPAN_is_sane ; then
+ # no configure_requires - we will need the usual suspects anyway
+ # without pre-installing these in one pass things like extract_prereqs won't work
+ installdeps ExtUtils::MakeMaker ExtUtils::CBuilder Module::Build
+ fi
+
+ # FIXME - temporary until 1.46 comes out / RT#99747 is fixed
+ # insufficient testing of 5.8.3, ned older DBD::SQlite, ribasushi--
+ if ! perl -M5.008004 -e 1 &>/dev/null ; then
+ installdeps DBI I/IS/ISHIGAKI/DBD-SQLite-1.42.tar.gz
+ fi
fi
fi
else
-
- # listalldeps is deliberate - will upgrade everything it can find
- # we exclude SQLA specifically, since we do not want to pull
- # in 1.99_xx on bleadcpan runs
- deplist="$(make listalldeps | grep -vP '^(SQL::Abstract)$')"
-
- # assume MDV on POISON_ENV, do not touch DBI/SQLite
- if [[ "$POISON_ENV" = "true" ]] ; then
- deplist="$(grep -vP '^(DBI|DBD::SQLite)$' <<< "$deplist")"
- fi
-
- parallel_installdeps_notest "$deplist"
+ parallel_installdeps_notest "$(make listdeps)"
fi
echo_err "$(tstamp) Dependency installation finished"
===================== DEPENDENCY CONFIGURATION COMPLETE =====================
$(tstamp) Configuration phase seems to have taken $(date -ud "@$SECONDS" '+%H:%M:%S') (@$SECONDS)
-= CPUinfo
-$(perl -0777 -p -e 's/.+\n\n(?!\z)//s' < /proc/cpuinfo)
-
-= Meminfo
-$(free -m -t)
-
-= Kernel info
-$(uname -a)
-
-= Network Configuration
-$(ip addr)
-
-= Network Sockets Status
-$(sudo netstat -an46p | grep -Pv '\s(CLOSING|(FIN|TIME|CLOSE)_WAIT.?|LAST_ACK)\s')
-
-= Environment
-$(env | grep -P 'TEST|HARNESS|MAKE|TRAVIS|PERL|DBIC' | LC_ALL=C sort | cat -v)
-
-= Perl in use
-$(perl -V)
-============================================================================="
+$(ci_vm_state_text)"