Commit 3a2d721e authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Could work with Travis CI on the first attempt :)

parent c30e5b2d
language: "perl"
perl:
- "5.10"
env:
- COVERALLS=true DB=sqlite
before_install:
- sudo apt-get -y update
- sudo apt-get -y install unzip
- wget https://github.com/bioperl/bioperl-live/archive/bioperl-release-1-2-3.zip
- unzip bioperl-release-1-2-3.zip
install:
- cpanm -v --installdeps --notest .
- cpanm -n Devel::Cover::Report::Coveralls
- cpanm -n DBD::SQLite
script: "./travisci/harness.sh"
notifications:
email:
on_success: always
on_failure: always
requires 'DBI';
requires 'DBD::mysql';
#!/bin/bash
export PERL5LIB=$PWD/bioperl-live-bioperl-release-1-2-3
echo "Running test suite"
if [ "$COVERALLS" = 'true' ]; then
PERL5OPT='-MDevel::Cover=+ignore,bioperl,+ignore,ensembl-test' perl $PWD/scripts/runtests.pl -verbose t $SKIP_TESTS
else
perl $PWD/scripts/runtests.pl t $SKIP_TESTS
fi
rt=$?
if [ $rt -eq 0 ]; then
if [ "$COVERALLS" = 'true' ]; then
echo "Running Devel::Cover coveralls report"
cover --nosummary -report coveralls
fi
exit $?
else
exit $rt
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