-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
28 lines (23 loc) · 883 Bytes
/
.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
language: perl
sudo: false
# for threads - https://docs.travis-ci.com/user/languages/perl/
perl:
- "5.18-shrplib"
# velvet default KMER is too small
install:
- "wget https://www.ebi.ac.uk/~zerbino/velvet/velvet_1.2.10.tgz"
- "tar zxf velvet_1.2.10.tgz"
- "make -C velvet_1.2.10 MAXKMERLENGTH=127 OPENMP=1 CATEGORIES=2"
- "export PATH=$PWD:$PWD/velvet_1.2.10:$PATH"
- "export OMP_NUM_THREADS=4"
- "cpanm --quiet --notest Bio::Perl"
before_script:
- "velveth | grep 'MAXKMERLENGTH = 127'"
- "velveth | grep 'OPENMP'"
- "export TD=test/data/test"
script:
- "VelvetOptimiser.pl --help"
- "VelvetOptimiser.pl --version"
- "! VelvetOptimiser.pl --awesomeness"
- "VelvetOptimiser.pl -d out1 -s 55 -e 59 -f '-shortPaired -fastq.gz -separate ${TD}_short_R1.fq.gz ${TD}_short_R2.fq.gz' "
- "grep -c '>NODE' out1/contigs.fa"