remove Bio::ASN1::EntrezGene from tests, this still seems to install BioPerl even...
[bioperl-live.git] / .travis.yml
blob4e22586177d1bf9c12c29d1fe87f4a5ef0e5a1a0
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: false
39 # whitelist branches
40 branches:
41   only:
42     - master