-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.travis.yml
59 lines (49 loc) · 1.35 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
dist: focal
language: "perl"
perl:
- "5.26"
- "5.32"
env:
global:
- ENSDIR=$TRAVIS_BUILD_DIR/..
- COVERALLS="false"
- HTSLIB_DIR=$TRAVIS_BUILD_DIR/../htslib
- PERL5LIB=$TRAVIS_BUILD_DIR/../ensembl-test/modules:$TRAVIS_BUILD_DIR/../ensembl/modules
jobs:
- HTSLIB_VERSION=1.9
- HTSLIB_VERSION=1.10
- HTSLIB_VERSION=1.11
- HTSLIB_VERSION=1.12
- HTSLIB_VERSION=1.13
sudo: false
addons:
apt:
packages:
- liblzma-dev
- libbz2-dev
- zlib1g-dev
- libcurl4-gnutls-dev
- libpng-dev
- libssl-dev
- openssl
- libexpat1-dev
- libdb-dev
before_install:
- cd $ENSDIR
- git clone --branch main --depth 1 https://github.com/Ensembl/ensembl-test.git
- git clone --branch main --depth 1 https://github.com/Ensembl/ensembl.git
- git clone --branch $HTSLIB_VERSION --recurse-submodules --shallow-submodules https://github.com/samtools/htslib.git
install:
- cd htslib
- make prefix=~/biodbhts install
- cd $TRAVIS_BUILD_DIR
- cpanm -v --sudo --notest XML::LibXML # https://github.com/shlomif/perl-XML-LibXML/pull/87
- cpanm -v --sudo --installdeps --notest .
- perl Build.PL --prefix=~/biodbhts
- ./Build
- ./Build test
script: "./travisci/harness.sh"
notifications:
email:
on_success: always
on_failure: always