Commit 36539527 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Trying to merge coverage reports for codecov

parent b6c55be6
...@@ -21,10 +21,8 @@ export TEST_AUTHOR=$USER ...@@ -21,10 +21,8 @@ export TEST_AUTHOR=$USER
COVERALLS="false" COVERALLS="false"
if [ "$PERLBREW_PERL" = '5.10' ]; then if [ "$PERLBREW_PERL" = '5.10' ]; then
if [[ "$EHIVE_TEST_PIPELINE_URLS" == mysql* ]]; then
echo "Testing with Coveralls" echo "Testing with Coveralls"
COVERALLS="true" COVERALLS="true"
fi
fi fi
echo "Running test suite" echo "Running test suite"
...@@ -37,8 +35,11 @@ fi ...@@ -37,8 +35,11 @@ fi
rt=$? rt=$?
if [ $rt -eq 0 ]; then if [ $rt -eq 0 ]; then
if [ "$COVERALLS" = 'true' ]; then if [ "$COVERALLS" = 'true' ]; then
echo "Running Devel::Cover coveralls report" echo "Running Devel::Cover report"
cover --nosummary -report coveralls if [[ "$EHIVE_TEST_PIPELINE_URLS" == mysql* ]]; then
# Coveralls only supports 1 report
cover --nosummary -report coveralls
fi
cover --nosummary -report codecov cover --nosummary -report codecov
fi fi
exit $? exit $?
......
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