From f169ff1d7c748edb8beb03cb8b3785fc502a9de1 Mon Sep 17 00:00:00 2001 From: Zakariyya Mughal Date: Sun, 15 Mar 2015 17:30:30 -0500 Subject: [PATCH] Travis-CI: install CPAN::Changes so that author test runs --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index eb139674c..41549bb53 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,13 +44,16 @@ before_install: - perl -V - cpanm --quiet --notest ExtUtils::F77 Term::ReadLine::Gnu PGPLOT # do not need tests - cpanm --quiet --notest Devel::CheckLib # specify this now because this is a CONFIGURE_REQUIRES for author-side + - if [ "$AUTHOR_TESTING" == 1 ]; then cpanm --quiet --notest CPAN::Changes; fi # for author tests (AUTHOR_TESTING is set to true by default by init) - cpanm --force --verbose ExtUtils::ParseXS # we install the latest ExtUtils::ParseXS - build-dist + - SRC_DIR=$(pwd) - cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command install: - cpan-install --deps # installs prereqs, including recommends - cpan-install --coverage # installs converage prereqs, if enabled - prove t/00-report-prereqs.t t/01-checkmanifest.t + - prove -b -v $SRC_DIR/xt/00-check-changelog.t # run the author test out of the source directory # SYSTEM_CORES set by travis-perl-helpers - if [ "$SERIAL_BUILD" == 1 ]; then make; else make -j$(( $SYSTEM_CORES * 2 )); fi before_script: