forked from sanger-pathogens/Bio-Path-Find
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-travis-dependencies.sh
executable file
·34 lines (25 loc) · 1.1 KB
/
install-travis-dependencies.sh
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
#!/bin/bash
start_dir=$(pwd)
cpanm --local-lib=${PWD}/perl_modules local::lib && eval $(perl -I ${PWD}/perl_modules/lib/perl5/ -Mlocal::lib=${PWD}/perl_modules)
cpanm --notest \
Dist::Zilla \
Module::Install \
MooseX::[email protected]
git clone https://github.com/sanger-pathogens/Bio-Metagenomics.git
git clone https://github.com/sanger-pathogens/Bio-Track-Schema.git
git clone https://github.com/sanger-pathogens/Bio-Sequencescape-Schema.git
cd Bio-Track-Schema
dzil authordeps --missing | cpanm --notest
dzil listdeps --missing | cpanm --notest
dzil install
cd ../Bio-Sequencescape-Schema
dzil authordeps --missing | cpanm --notest
dzil listdeps --missing | cpanm --notest
dzil install
cd ../Bio-Metagenomics
rm -rf t bin lib/Bio/Metagenomics/CommandLine/ lib/Bio/Metagenomics/CreateLibrary.pm lib/Bio/Metagenomics/Genbank.pm lib/Bio/Metagenomics/FileConvert.pm lib/Bio/Metagenomics/TaxonRank.pm lib/Bio/Metagenomics/External/Metaphlan.pm lib/Bio/Metagenomics/External/Kraken.pm
sed -i '14,19 d' dist.ini
dzil install
cd $start_dir
dzil authordeps --missing | cpanm --notest
dzil listdeps --missing | cpanm --notest