Permalink
Switch branches/tags
tag-ensembl-stable-061 start snapshot-at-head-of-07-branch release-ensembl-06 release-06 release-06-2 release-1_01 release-1-7-1 release-1-7-0 release-1-7-0-RC6 release-1-7-0-RC5 release-1-7-0-RC4 release-1-6-zenodo release-1-6-924 release-1-6-923 release-1-6-922 release-1-6-921 release-1-6-920 release-1-6-910 release-0-9-3 release-0-9-2 release-0-9-0 release-0-7-2 release-0-7-1 release-0-7-0 release-0-05 release-0-05-1 release-0-04-4 release-0-04-3 release-0-04-2 release-0-04-1 prerelease-06 ontology-overhaul-start ontology-overhaul-end ontology-fix1 lightweight_feature join-0-04-to-0-05 gbrowse_1_65 for_gmod_0_003 bioperl-run-release-1-2-0 bioperl-release-1-6 bioperl-release-1-6-901 bioperl-release-1-6-9 bioperl-release-1-6-1 bioperl-release-1-5-2 bioperl-release-1-5-2-patch2 bioperl-release-1-5-2-patch1 bioperl-release-1-5-1 bioperl-release-1-5-1-rc4 bioperl-release-1-5-0 bioperl-release-1-5-0-rc2 bioperl-release-1-5-0-rc1 bioperl-release-1-4-0 bioperl-release-1-2-3 bioperl-release-1-2-2 bioperl-release-1-2-1 bioperl-release-1-2-0 bioperl-release-1-1-0 bioperl-release-1-0-2 bioperl-release-1-0-1 bioperl-release-1-0-0 bioperl-devel-1-3-04 bioperl-devel-1-3-03 bioperl-devel-1-3-02 bioperl-devel-1-3-01 bioperl-devel-1-1-1 bioperl-061-pre1 bioperl-06-1 bioperl-1-6-RC4 bioperl-1-6-RC3_15392 bioperl-1-6-RC3 bioperl-1-6-RC2_15306 bioperl-1-6-RC2 bioperl-1-6-RC1 bioperl-1-6-0_006 bioperl-1-6-0_005 bioperl-1-6-0_004 bioperl-1-6-0_003 bioperl-1-6-0_002 bioperl-1-6-0_001 bioperl-1-2-1-rc1 bioperl-1-0-alpha2-rc bioperl-1-0-alpha bioperl-1-0-0 before-05-to-06-trunk before-05-to-06-merge after004 after-05-06-merge after-05-06-merge-2
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
87 lines (80 sloc) 2.16 KB
language: perl
perl:
- "5.26"
- "5.24"
- "5.20"
- "5.18"
- "5.16"
matrix:
include:
- perl: 5.18
env: COVERAGE=1 TEST_PARTITION=1
- perl: 5.18
env: COVERAGE=1 TEST_PARTITION=2
- perl: 5.18
env: COVERAGE=1 TEST_PARTITION=3
- perl: 5.18
env: COVERAGE=1 TEST_PARTITION=4
- perl: 5.18
env: COVERAGE=1 TEST_PARTITION=5
- perl: 5.18
env: COVERAGE=1 TEST_PARTITION=6
sudo: false
env:
global:
- PERL_CPANM_OPT="--notest --force --skip-satisfied"
- BIOPERL_NETWORK_TESTING=0 # disables the network tests
- TEST_PARTITIONS=6
addons:
apt:
packages:
- libdb-dev
- graphviz
- libgd2-xpm-dev
- libxml2-dev
before_install:
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
- cpanm DBD::mysql DBD::Pg DBD::SQLite 2>&1 | tail -n 1
- cpanm Test::Pod 2>&1 | tail -n 1
- cpanm Bio::ASN1::EntrezGene 2>&1 | tail -n 1
- if [ "$TRAVIS_EVENT_TYPE" = "cron" -a "$BRANCH" = "network-cron-master" ]; then
export BIOPERL_NETWORK_TESTING=1;
git fetch origin master:master; git checkout master;
fi
- if [ "$BIOPERL_NETWORK_TESTING" = "1" ]; then
export TRAVIS_AUTHOR_TESTING=1;
export TRAVIS_RELEASE_TESTING=1;
cpanm LWP::UserAgent LWP::Protocol::https 2>&1 | tail -n 1;
fi
- build-dist
- cd $BUILD_DIR
install:
- cpan-install --deps
- cpan-install --coverage
before_script:
- coverage-setup
script:
- export AUTHOR_TESTING=${TRAVIS_AUTHOR_TESTING:=0}
- export RELEASE_TESTING=${TRAVIS_RELEASE_TESTING:=0}
- prove -l -j$(test-jobs) $(test-files)
after_success:
- coverage-report
- ./travis_scripts/trigger-dockerhub.sh
#TODO - send emails to bioperl-guts-l
notifications:
email:
recipients:
- bioperl-guts-l@lists.open-bio.org
- cjfields1@gmail.com
on_success: change
on_failure: change
# whitelist branches
branches:
only:
- master
- /^release-[1-9]*-[0-9]*-[0-9]*$/
- network-cron-master