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@127.0.0.1/ehive_test_pipeline_db
echo "Running test suite"
if [ "$COVERALLS" = 'true' ]; then
PERL5OPT='-MDevel::Cover=+ignore,bioperl,+ignore,ensembl-test' perl $PWD/scripts/all_tests.pl -verbose t $SKIP_TESTS
PERL5OPT="-MDevel::Cover=+ignore,bioperl,+ignore,ensembl-test,-db,$PWD/cover_db/" perl $PWD/scripts/all_tests.pl -verbose t $SKIP_TESTS
else
perl $PWD/scripts/all_tests.pl t $SKIP_TESTS
fi
......
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