From: Graham Knop Date: Thu, 29 Aug 2013 18:28:03 +0000 (-0400) Subject: silence perl build output X-Git-Tag: v1.003001~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=89d924bf398be3123f4271f31a5a6041af37f9cb;p=gitmo%2FMoo.git silence perl build output --- diff --git a/maint/travis-perlbrew b/maint/travis-perlbrew index f3a4a6c..89ec726 100644 --- a/maint/travis-perlbrew +++ b/maint/travis-perlbrew @@ -3,10 +3,12 @@ BREWOPTS= [[ "${TRAVIS_PERL_VERSION}_" =~ '_thr_' ]] && BREWOPTS="$BREWOPTS -Duseithreads" if ! perlbrew use | grep -q "Currently using $TRAVIS_PERL_VERSION"; then - perlbrew install --as $TRAVIS_PERL_VERSION --notest --noman --verbose $BREWOPTS -j 2 $BREWVER + echo "Building perl $TRAVIS_PERL_VERSION..." + PERLBUILD=$(perlbrew install --as $TRAVIS_PERL_VERSION --notest --noman --verbose $BREWOPTS -j 2 $BREWVER 2>&1) perlbrew use $TRAVIS_PERL_VERSION if ! perlbrew use | grep -q "Currently using $TRAVIS_PERL_VERSION"; then echo "Unable to switch to $TRAVIS_PERL_VERSION - compilation failed...?" 1>&2 + echo "$PERLBUILD" 1>&2 exit 1 fi fi