-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
56 lines (56 loc) · 2.01 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
language: perl
perl:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.18"
- "5.20"
- "5.22"
sudo:
false
addons:
apt:
packages:
- liblog-log4perl-perl
- libmoose-perl
- libipc-run-perl
- libterm-progressbar-perl
- libgraph-perl
- libtest-script-run-perl
- libdevel-cover-perl
- libarchive-extract-perl
- bowtie2
- ncbi-blast+
- samtools
- bedtools
- r-base
- ghostscript
# - jellyfish
- python
before_install:
- export PATH=$TRAVIS_BUILD_DIR:/tmp/SPAdes-3.10.1-Linux/bin:/tmp/jellyfish/bin:$PATH
- wget -O /tmp/jellyfish-2.2.6.tar.gz https://github.com/gmarcais/Jellyfish/releases/download/v2.2.6/jellyfish-2.2.6.tar.gz && cd /tmp/ && tar xzf jellyfish-2.2.6.tar.gz && cd jellyfish-2.2.6 && ./configure --prefix=/tmp/jellyfish && make -j 4 && make install && which jellyfish
- git clone git://github.com/haarg/perl-travis-helper
- source perl-travis-helper/init
- build-perl
- perl -V
install:
- cpanm Term::ProgressBar Graph Log::Log4perl Moose@2.2009 File::Which IPC::Run Test::Script::Run Devel::Cover Archive::Extract Devel::Cover::Report::Coveralls
- wget -O /tmp/SPAdes-3.10.1-Linux.tar.gz http://cab.spbu.ru/files/release3.10.1/SPAdes-3.10.1-Linux.tar.gz && cd /tmp/ && tar -xzf SPAdes-3.10.1-Linux.tar.gz
- cd $TRAVIS_BUILD_DIR
- sed -i 's/threads => 8/threads => 2/' ptx.cfg
- export PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine
- mkdir ptx
script:
- travis_wait 60 prove -lrv test/chloroExtractor-testsuite/cmd_based/003*.t
- ln -s test/chloroExtractor-testsuite/cmd_based/divide_by_zero_bug_testset.tar.gz && prove test/chloroExtractor-testsuite/cmd_based/004*.t
- cd ptx && prove -lrv ../test/chloroExtractor-testsuite/cmd_based/001*.t
- prove -lrv ../test/chloroExtractor-testsuite/cmd_based/002*.t
after_success:
- export PERL5OPT=""
- cover -ignore_re=lib
- cover -ignore_re=lib -report coveralls
matrix:
allow_failures:
- perl: "5.8"