forked from Ensembl/ensembl-webcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (33 loc) · 1.36 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: "perl"
perl:
- "5.20-shrplib"
sudo: required
addons:
apt:
packages:
- unzip
- apache2-mpm-prefork
- apache2-prefork-dev
- libdb4.6
- libdb-dev
- libgd2-xpm-dev
- build-essential
before_install:
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-test.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-variation.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-io.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-orm.git
- git clone -b bioperl-release-1-6-1 --depth 1 https://github.com/bioperl/bioperl-live.git
- cpanm --quiet --notest mod_perl2 --configure-args="MP_APXS=/usr/bin/apxs2 MP_AP_DESTDIR=/home/travis/perl5/perlbrew/perls/5.20-shrplib/" || (echo "Contents of Apache2/BuildConfig.pm:"; cat /home/travis/.cpanm/work/*/mod_perl-2*/lib/Apache2/BuildConfig.pm; false)
- sudo sh -c 'echo "LoadModule perl_module /home/travis/perl5/perlbrew/perls/5.20-shrplib/usr/lib/apache2/modules/mod_perl.so" > /etc/apache2/mods-enabled/perl.load'
install:
- cpanm -v --installdeps --notest .
script: "./travisci/harness.sh"
branches:
only:
- master
notifications:
email:
on_success: always
on_failure: always