Commit 2a162392 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

All the perl process will report the coverage in the same db

Without this option, Perl would create cover_db in the current directory,
which causes problems because some tests change the working directory
before running a script
parent 92a95076
......@@ -21,7 +21,7 @@ export EHIVE_MYSQL_PIPELINE_URL=mysql://travis@
echo "Running test suite"
if [ "$COVERALLS" = 'true' ]; then
PERL5OPT='-MDevel::Cover=+ignore,bioperl,+ignore,ensembl-test' perl $PWD/scripts/ -verbose t $SKIP_TESTS
PERL5OPT="-MDevel::Cover=+ignore,bioperl,+ignore,ensembl-test,-db,$PWD/cover_db/" perl $PWD/scripts/ -verbose t $SKIP_TESTS
perl $PWD/scripts/ t $SKIP_TESTS
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment