forked from Ensembl/ensembl-vep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (59 loc) · 1.8 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
language: "perl"
perl:
- "5.8"
- "5.10"
- "5.14"
- "5.18"
- "5.22"
env:
- COVERALLS=true DB=mysql
sudo: required
dist: trusty
group: deprecated
addons:
apt:
packages:
- unzip
- mysql-server-5.6
- apache2
- libmysqlclient-dev
- libpng12-dev
- libssl-dev
- openssl
- mysql-client-5.6
- mysql-client-core-5.6
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
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-io.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-funcgen.git
- git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-variation.git
# - git clone --branch master --depth 1 https://github.com/Ensembl/Bio-HTS
# - wget https://github.com/bioperl/bioperl-live/archive/release-1-6-924.zip
# - unzip release-1-6-924.zip
- 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-335_base/src"
- export HTSLIB_DIR="$DEPS/htslib"
- export MACHTYPE=$(uname -m)
- export CFLAGS="-fPIC"
- export PERL5LIB=$DEPS/bioperl-live-release-1-6-924:$PERL5LIB
- cd $DEPS
- $CWD/travisci/build_c.sh
- cd $CWD
- cpanm --quiet --installdeps --with-recommends --notest --cpanfile ensembl/cpanfile .
- cpanm --quiet --installdeps --with-recommends --notest .
- cpanm --quiet -n Devel::Cover::Report::Coveralls
- cp travisci/MultiTestDB.conf.travisci t/MultiTestDB.conf
script: "./travisci/harness.sh"
notifications:
email:
on_success: always
on_failure: always