Add tests for memory leaks and weaken for Issue #81
[bioperl-live.git] / .travis.yml
bloba2ccf8f0a5db94c141184a1c19ab9be934c2844c
1 language: perl
2 perl:
3   - "5.18"
4   - "5.16"
5   - "5.14"
6   - "5.12"
7   - "5.10"
9 env: PERL_CPANM_OPT="--notest --force --skip-satisfied"
11 install:
12     #This should solve problem installing Perl's DB_File & GraphViz
13     - "sudo apt-get install libdb-dev graphviz libgd2-xpm-dev libxml2-dev 2>&1 | tail -n 4"
14     #These are recommended or required Perl libraries:
15     - "cpanm GD 2>&1 | tail -n 1"
16     - "cpanm HTML::TableExtract DBI Data::Stag DB_File 2>&1 | tail -n 1"
17     - "cpanm DBD::mysql DBD::Pg DBD::SQLite 2>&1 | tail -n 1"
18     - "cpanm Algorithm::Munkres Array::Compare Convert::Binary::C Error 2>&1 | tail -n 1"
19     - "cpanm Graph SVG SVG::Graph GraphViz 2>&1 | tail -n 1"
20     - "cpanm XML::DOM::XPath XML::Parser XML::Parser::PerlSAX 2>&1 | tail -n 1"
21     - "cpanm XML::SAX XML::SAX::Writer XML::Simple XML::LibXML XML::Twig XML::Writer 2>&1 | tail -n 1"
22     - "cpanm PostScript::TextBlock Set::Scalar Sort::Naturally YAML | tail -n 1"
23     - "cpanm Math::Random SOAP::Lite Spreadsheet::ParseExcel | tail -n 1"
24     - "cpanm Bio::ASN1::EntrezGene | tail -n 1"
25     - "cpanm Bio::Phylo | tail -n 1"
26     #for some reason tests and deps aren't skipped here.  Will have to look into it more...
27     #git repos, seems to only work for simple checkouts, so pure perl only (TODO: look into before_script for more detail)
28     - "git clone https://github.com/bioperl/Bio-Root.git; export PERL5LIB=$( pwd )/Bio-Root/lib:$PERL5LIB"
29     #This installs BioPerl itself:
30     - "perl ./Build.PL --accept"
32 script:
33     - "./Build test"
35 #TODO - send emails to bioperl-guts-l
36 notifications:
37   email: 
38     recipients:
39       - bioperl-guts-l@lists.open-bio.org
40       - cjfields1@gmail.com
41     on_success: change
42     on_failure: change
44 # whitelist branches
45 branches:
46   only:
47     - master