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

Also report to codecov

parent 370e61fb
......@@ -21,12 +21,14 @@ before_install:
- echo -e '#!/bin/bash\n\nperl '`which psql`' "$@"' > psql
- chmod +x psql
- export PATH=$PWD:$PATH
- ln -s /usr/share/perl5/PgCommon.pm modules/
- mkdir deps
- ln -s /usr/share/perl5/PgCommon.pm deps/
install:
- cpanm -v --installdeps --notest .
- cpanm -n Devel::Cover::Report::Coveralls
- cpanm -n Devel::Cover::Report::Codecov
script: "./scripts/travis_run_tests.sh"
......
......@@ -15,7 +15,7 @@
# limitations under the License.
export PERL5LIB=$PWD/bioperl-live:$PWD/modules
export PERL5LIB=$PWD/bioperl-live:$PWD/modules:$PWD/deps
# for the t/10.pipeconfig/longmult.t test
export EHIVE_TEST_PIPELINE_URLS='mysql://travis@127.0.0.1/ehive_test_pipeline_db pgsql://postgres@127.0.0.1/ehive_test_pipeline_db sqlite:///ehive_test_pipeline_db'
......@@ -32,6 +32,7 @@ if [ $rt -eq 0 ]; then
if [ "$COVERALLS" = 'true' ]; then
echo "Running Devel::Cover coveralls report"
cover --nosummary -report coveralls
cover --nosummary -report codecov
fi
exit $?
else
......
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