From: Peter Rabbitson Date: Mon, 11 Apr 2016 15:19:34 +0000 (+0200) Subject: (travis) Enhance the 'broken compiler' test X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e5b2f13cc43816b197496ff715acd0cc52ce83f3;p=dbsrgits%2FDBIx-Class.git (travis) Enhance the 'broken compiler' test --- diff --git a/.travis.yml b/.travis.yml index 6c63f90..43948b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ notifications: email: recipients: - - ribasushi@cpan.org + - CPAN-CI@leporine.io on_success: change on_failure: always diff --git a/maint/travis-ci_scripts/30_before_script.bash b/maint/travis-ci_scripts/30_before_script.bash index 24515a8..9f1ebd0 100755 --- a/maint/travis-ci_scripts/30_before_script.bash +++ b/maint/travis-ci_scripts/30_before_script.bash @@ -36,15 +36,20 @@ if [[ "$POISON_ENV" = "true" ]] ; then # also try minimal tested installs *without* a compiler if [[ "$CLEANTEST" = "true" ]]; then - # Clone and P::S::XS are both bugs + # FIXME - working around RT#74707, https://metacpan.org/source/DOY/Package-Stash-0.37/Makefile.PL#L112-122 # List::Util can be excised after that as well (need to make my own max() routine for older perls) - installdeps Sub::Name Clone Package::Stash::XS \ $( perl -MList::Util\ 1.16 -e1 &>/dev/null || echo "List::Util" ) mkdir -p "$HOME/bin" # this is already in $PATH, just doesn't exist run_or_err "Linking ~/bin/cc to /bin/false - thus essentially BREAKING the C compiler" \ "ln -s /bin/false $HOME/bin/cc" + + # FIXME: working around RT#113682, RT#113685 + installdeps Module::Build B::Hooks::EndOfScope + + run_or_err "Linking ~/bin/cc to /bin/true - BREAKING the C compiler even harder" \ + "ln -fs /bin/true $HOME/bin/cc" fi fi