From e75f22dff0c366b90509ce8395df79268c07f272 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index eb139674c..654d540b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,11 +39,13 @@ before_install: - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers - ls -lR - export SPLIT_BUILD=0 + - export AUTHOR_TESTING=1 - source ~/travis-perl-helpers/init - build-perl - 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 + - cpanm --quiet --notest CPAN::Changes # for author tests - cpanm --force --verbose ExtUtils::ParseXS # we install the latest ExtUtils::ParseXS - build-dist - cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command @@ -56,7 +58,7 @@ install: before_script: - coverage-setup script: - - if [ "$SERIAL_TESTING" == 1 ]; then prove -b -v $(test-files); else prove --formatter TAP::Formatter::File -j$(test-jobs) -b -v $(test-files); fi + - if [ "$SERIAL_TESTING" == 1 ]; then prove -b -v $(test-dirs); else prove --formatter TAP::Formatter::File -j$(test-jobs) -b -v $(test-dirs); fi after_script: - perl -Iblib/lib -MPDL::Config -MData::Dumper -e 'print Dumper \%PDL::Config' after_success: