X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=maint%2Ftravis-ci_scripts%2F50_after_success.bash;fp=maint%2Ftravis-ci_scripts%2F50_after_success.bash;h=69feec202c29aeb16d4887573fcbb41e452c7539;hb=baa02fa95f293fa55614707df3720ee820b95d62;hp=4a24b2f58da1800b69bc6957226751a685e1b49e;hpb=ec1e08eaebfd5bed2e3c812f4ad9ebc614752b57;p=dbsrgits%2FDBIx-Class.git diff --git a/maint/travis-ci_scripts/50_after_success.bash b/maint/travis-ci_scripts/50_after_success.bash index 4a24b2f..69feec2 100755 --- a/maint/travis-ci_scripts/50_after_success.bash +++ b/maint/travis-ci_scripts/50_after_success.bash @@ -7,9 +7,13 @@ if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] || [[ "$TRAVIS_PULL_REQUEST" != "false" ]] ; # this part needs to run in parallel unconditionally export VCPU_USE="$VCPU_AVAILABLE" +export HARNESS_OPTIONS="j$VCPU_USE" if [[ "$DEVREL_DEPS" == "true" ]] && perl -M5.008003 -e1 &>/dev/null ; then + # FIXME - these really need to be installed *with* testing under "allowed failures" + # Change when Moose goes away + parallel_installdeps_notest Moose parallel_installdeps_notest $(perl -Ilib -MDBIx::Class::Optional::Dependencies=-list_missing,dist_dir) run_or_err "Attempt to build a dist" "rm -rf inc/ && perl Makefile.PL --skip-author-deps && make dist" @@ -33,6 +37,14 @@ if [[ -n "$tarball_assembled" ]] ; then # kill as much as possible with fire purge_sitelib + + # undo some of the pollution (if any) affecting the plain install deps + # FIXME - this will go away once we move off Moose, and a new SQLT + # with much less recommends ships + export DBICTEST_SQLT_DEPLOY="" + export DBICTEST_VIA_REPLICATED="" + + # make sure we are retrying with newest CPAN possible # # not running tests on CPAN.pm - they are not terribly slow, @@ -56,6 +68,8 @@ if [[ -n "$tarball_assembled" ]] ; then cd "$(find DBIx-Class-* -maxdepth 0 -type d | head -n 1)" + # only run a full test cycle on devrel_deps, as they are all marked + # as "allow fails" in the travis matrix if [[ "$DEVREL_DEPS" == "true" ]] ; then for e in $( env | grep 'DBICTEST.*DSN' | cut -f 1 -d '=' ) ; do