Debian Codegraph @

.travis.yml

raw
1 dist: focal
2
3 language: "perl"
4
5 perl:
6 - "5.26"
7 - "5.32"
8
9 env:
10 global:
11 - ENSDIR=$TRAVIS_BUILD_DIR/..
12 - COVERALLS="false"
13 jobs:
14 - HTSLIB_VERSION=1.9
15 - HTSLIB_VERSION=1.10
16 - HTSLIB_VERSION=1.11
17 - HTSLIB_VERSION=1.12
18 - HTSLIB_VERSION=1.13
19
20 sudo: false
21
22 addons:
23 apt:
24 packages:
25 - unzip
26 - liblzma-dev
27 - libbz2-dev
28 - zlib1g-dev
29 - libcurl4-gnutls-dev
30 - libpng-dev
31 - libssl-dev
32 - openssl
33 - libexpat1-dev
34 - libdb-dev
35
36 before_install:
37 - cd $ENSDIR
38 - git clone --branch main --depth 1 https://github.com/Ensembl/ensembl-test.git
39 - cd $TRAVIS_BUILD_DIR
40
41 install:
42 - git clone --branch $HTSLIB_VERSION --recurse-submodules --shallow-submodules https://github.com/samtools/htslib.git
43 - cd htslib
44 - make prefix=~/biodbhts install
45 - export HTSLIB_DIR=
46 - cd ..
47 - cpanm -v --sudo --notest XML::LibXML # https://github.com/shlomif/perl-XML-LibXML/pull/87
48 - cpanm -v --sudo --installdeps --notest .
49 - perl Build.PL --prefix=~/biodbhts
50 - ./Build
51 - ./Build test
52
53 script: "./travisci/harness.sh"
54
55 notifications:
56 email:
57 on_success: always
58 on_failure: always