forked from Ensembl/ensembl-io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
76 lines (67 loc) · 1.83 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
language: "perl"
sudo: false
cache:
apt: false
directories:
- $HOME/perl5/perlbrew
- $HOME/dependencies
perl:
- "5.14"
# - "5.12"
# - "5.10"
# env:
# - COVERALLS=true DB=mysql
# - COVERALLS=false DB=mysql
# - COVERALLS=false DB=sqlite
addons:
apt:
packages:
- unzip
- mysql-server-5.5
- apache2
- libmysqlclient-dev
- libpng12-dev
- libssl-dev
- openssl
- mysql-client-5.5
- mysql-client-core-5.5
before_install:
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-test.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl.git
- export CWD=$PWD
- export DEPS=$HOME/dependencies
- mkdir -p $DEPS
- cd $DEPS
- $CWD/travisci/get_dependencies.sh
- cd $CWD
install:
- export CWD=$PWD
- export DEPS=$HOME/dependencies
- export KENT_SRC="$DEPS/kent/src"
- export SAMTOOLS="$DEPS/samtools"
- export MACHTYPE=$(uname -m)
- export CFLAGS="-fPIC"
- cd $DEPS
- $CWD/travisci/build_c.sh
- cd $CWD
- cpanm -v --installdeps --with-recommends --notest --cpanfile ensembl/cpanfile .
- cpanm -v --installdeps --notest .
- cpanm -n Devel::Cover::Report::Coveralls
- cpanm -n DBD::SQLite
# - cp travisci/MultiTestDB.conf.travisci.mysql modules/t/MultiTestDB.conf.mysql
# - cp travisci/MultiTestDB.conf.travisci.SQLite modules/t/MultiTestDB.conf.SQLite
script: "./travisci/harness.sh"
# Get the matrix to only build coveralls support when on 5.10
# matrix:
# exclude:
# - perl: "5.10"
# env: COVERALLS=false DB=mysql
# - perl: "5.12"
# env: COVERALLS=false DB=sqlite
# - perl: "5.12"
# env: COVERALLS=true DB=mysql
# - perl: "5.14"
# env: COVERALLS=false DB=sqlite
# - perl: "5.14"
# env: COVERALLS=true DB=mysql
#