Skip to content

Instantly share code, notes, and snippets.

@autarch
Created May 29, 2012 01:23
Show Gist options
  • Save autarch/2822041 to your computer and use it in GitHub Desktop.
Save autarch/2822041 to your computer and use it in GitHub Desktop.
AUTHORDEPS=$(/var/lib/jenkins/perl5/perlbrew/perls/perl-5.14.1/bin/dzil authordeps --missing)
if [ ! -z "$AUTHORDEPS" ]; then
/var/lib/jenkins/perl5/perlbrew/perls/perl-5.14.1/bin/cpanm $AUTHORDEPS
fi
RUNTIMEDEPS=$(/var/lib/jenkins/perl5/perlbrew/perls/perl-5.14.1/bin/dzil listdeps --missing --author)
if [ ! -z "$RUNTIMEDEPS" ]; then
/var/lib/jenkins/perl5/perlbrew/perls/perl-5.14.1/bin/cpanm $RUNTIMEDEPS
fi
/var/lib/jenkins/perl5/perlbrew/perls/perl-5.14.1/bin/dzil clean
/var/lib/jenkins/perl5/perlbrew/perls/perl-5.14.1/bin/dzil build --no-tgz
cd Moose-*
export AUTHOR_TESTING=1
export RELEASE_TESTING=1
export MOOSE_TEST_MD=1
/var/lib/jenkins/perl5/perlbrew/perls/perl-5.14.1/bin/perl Makefile.PL
make
nice /var/lib/jenkins/perl5/perlbrew/perls/perl-5.14.1/bin/prove -j 2 -br -v --harness=TAP::Harness::JUnit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment