test using sudo, but maybe try using a local install environment at some point
[bioperl-run.git] / .travis.yml
blob9c0f2701f472fdff9dc9c9383258cf0c7a38dd4d
1 language: perl
3 perl:
4   - "5.24"
5   #- "5.20"
6   - "5.18"
7   #- "5.16"
8   #- "5.14"
10 sudo: required
11 env: PERL_CPANM_OPT="--notest --force --skip-satisfied"
13 addons:
14   apt:
15     packages:
16       - ncbi-blast+
17       - ncbi-blast+-legacy
18       - clustalw
19       - bwa
20       - hmmer
21       - emboss
22       - probcons
23       - wise
24       #- samtools
25       #- muscle
26       #- bedtools
27       #- mafft
29 install:
30     #These are recommended or required Perl libraries
31     - "cpanm Bio::Perl 2>&1 | tail -n 1"
32     - "cpanm Bio::FeatureIO 2>&1 | tail -n 1"
33     - "cpanm IPC::Run XML::Twig 2>&1 | tail -n 1"
34     - "cpanm Config::Any 2>&1 | tail -n 1"
35     #- "SAMTOOLS=( dirname `which samtools` ) cpanm Bio::DB::Sam 2>&1 | tail -n 1"
37 before_script:
38     - ./packages/install-samtools.sh
40 script:
41     - "perl ./Build.PL --accept"
42     - "./Build test"
44 #after_success:
45 #    - ./travis_scripts/trigger-dockerhub.sh
47 #TODO - send emails to bioperl-guts-l
48 notifications:
49   email:
50     recipients:
51       #- bioperl-guts-l@lists.open-bio.org
52       - cjfields1@gmail.com
53     on_success: change
54     on_failure: change
56 # whitelist branches
57 branches:
58   only:
59     - master