-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
45 lines (40 loc) · 1.66 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
language: C
addons:
apt:
sources:
- ubuntu-toolchain-r-test
matrix:
include:
- os: linux
sudo: true
install:
- if [ ! -d "$HOME/miniconda/bin" ]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh && bash miniconda.sh -f -b -p $HOME/miniconda; fi
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels defaults
- conda config --add channels conda-forge
- conda config --add channels bioconda
- conda create -q -n rnftools "python>=3" wgsim dwgsim art mason pysam samtools curesim snakemake setuptools "gnuplot>=5.0" bwa
- source activate rnftools
#- conda update --all
- pip install .
- os: osx
install:
- if [ ! -d "$HOME/miniconda/bin" ]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh && bash miniconda.sh -f -b -p $HOME/miniconda; fi
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels defaults
- conda config --add channels conda-forge
- conda config --add channels bioconda
- conda create -q -n rnftools "python>=3" wgsim dwgsim art mason pysam samtools curesim snakemake setuptools "gnuplot>=5.0" bwa
- source activate rnftools
#- conda update --all
- pip install .
before_script:
- git clone git://github.com/sstephenson/bats $PWD/bats
- export PATH=$PATH:$PWD/bats/bin
script:
- make -C tests
- make -C examples