forked from mskcc/vcf2maf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (35 loc) · 1.14 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
# Reference: http://docs.travis-ci.com/user/languages/perl/
dist: xenial
sudo: false
language: perl
perl: "5.26"
branches:
only:
- master
addons:
apt:
packages:
- libmysqlclient-dev
- build-essential
- cpanminus
- samtools
- tabix
- unzip
- rsync
- wget
- gzip
env:
- VEP_VERSION=95.3
before_install:
- cpanm --notest LWP::Simple DBI DBD::mysql Archive::Zip Archive::Extract HTTP::Tiny Test::Simple
install:
- wget -qP $HOME https://github.com/Ensembl/ensembl-vep/archive/release/${VEP_VERSION}.tar.gz
- tar -zxf $HOME/${VEP_VERSION}.tar.gz -C $HOME
- mv $HOME/ensembl-vep-release-${VEP_VERSION} $HOME/vep
# Add a delay between downloads from api.github.com, to prevent rate limiting
- perl -i -pe '$_.=" sleep 12;\n" if(/^sub download_to_file/);' $HOME/vep/INSTALL.pl
- perl $HOME/vep/INSTALL.pl --NO_TEST --NO_HTSLIB --NO_UPDATE --PREFER_BIN --AUTO a --DESTDIR $HOME/vep
- rsync rsync://ftp.ensembl.org/ensembl/pub/release-95/fasta/homo_sapiens/dna/Homo_sapiens.GRCh38.dna.chromosome.13.fa.gz data/
- gzip -d data/Homo_sapiens.GRCh38.dna.chromosome.13.fa.gz
script:
- perl tests/vcf2maf.t