forked from sanahmed/PhaME
-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
58 lines (51 loc) · 1.9 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
57
58
sudo: required
# services:
# - docker
language: perl
perl:
- "5.22"
before_install:
# - docker pull migun/phame-1
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
# - sudo apt-get -y install -qq gcc-5 g++-5
# - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -f
- export PATH="/home/travis/miniconda3/bin:$PATH"
- conda update --yes -n base conda
- conda config --add channels r
- conda config --add channels defaults
- conda config --add channels conda-forge
- conda config --add channels bioconda
- conda create --yes -n phame_env
- conda install --yes -c bioconda phame -n phame_env
# - conda install --yes -c bioconda samtools>=1.7
# - conda install --yes -c bioconda bbmap>=37.62
# - conda install --yes -c bioconda bowtie2=2.3.0
# - conda install --yes -c bioconda perl-app-cpanminus=1.7039
# - conda install --yes -c bioconda bcftools
# - conda install --yes -c bioconda bwa
# - conda install --yes -c bioconda fasttree
# - conda install --yes -c bioconda bbmap
# - conda install --yes -c bioconda raxml
# - cpanm Getopt::[email protected]
# - cpanm Test::[email protected]
# - cpanm Statistics::[email protected]
# - cpanm File::[email protected]
# - cpanm File::[email protected]
# - cpanm File::[email protected]
# - cpanm Parallel::[email protected]
# - export PATH="$HOME/build/mshakya/PhaME-1/src:$HOME/build/mshakya/PhaME-1/thirdParty/miniconda/bin:$PATH"
# before_script:
# - cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Codecov
script:
- source activate phame_env
- test/TestAll.sh 2
- test/TestAll.sh 7
# - cover -test
# - docker run --rm migun/phame-1 sh test/TestAll.sh
#after_success:
# - cover -report codecov