Permalink
Browse files

Don't run tests when installing for cpancover.

  • Loading branch information...
1 parent 50ab571 commit 040d0353f0d0f90084cfb1dbba16bff99f3121e5 @pjcj committed Dec 31, 2012
Showing with 7 additions and 6 deletions.
  1. +7 −6 utils/run_cpancover
View
@@ -1,16 +1,17 @@
#!/bin/sh -x
+JOBS=8
perlbrew uninstall cpancover
-perlbrew install perl-5.16.2 --as cpancover -j 8
+perlbrew install perl-5.16.2 --as cpancover -j $JOBS -nf
export PATH=$PERLBREW_ROOT/perls/cpancover/bin:$PATH
rm -rf ~/.cpanm
rm -rf ~/cpancover
cpan App::cpanminus
-cpanm .
-cpanm App::cpanoutdated
-cpan-outdated | cpanm
-perl utils/install_modules
-CPANCOVER_WORKERS=8 perl utils/cpanmcover
+cpanm -nf .
+cpanm -nf App::cpanoutdated
+cpan-outdated | cpanm -nf
+perl utils/install_modules -nf
+CPANCOVER_WORKERS=$JOBS perl utils/cpanmcover
rm -r /home/pjcj/cpancover/modules/Archive-Extract-0.60/cover_db
rm -r /home/pjcj/cpancover/modules/Test-LeakTrace-0.14/cover_db
cpancover -directory ~/cpancover/modules -outputdir ~/cpancover/results -outputfile index.html -report html_basic -nocollect

0 comments on commit 040d035

Please sign in to comment.