X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMoo.git;a=blobdiff_plain;f=maint%2Ftravis-perlbrew;h=89ec72667d9ad4ef6ebe72fca3adfe255c64cd3f;hp=f3a4a6ca1cbec8866ece6484c3b001a4efe91a3d;hb=89d924bf398be3123f4271f31a5a6041af37f9cb;hpb=6b63d62a93ce3fcee05f381298d405cefb299203 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