-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
31 lines (29 loc) · 1.38 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
language: python
python:
- 3.6
- 3.7
- 3.8
- 3.9
install:
- sudo apt-get update
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels bioconda
- conda config --add channels conda-forge
- conda update -q conda
- conda info -a
- conda install mamba -c conda-forge
- mamba create -q -n test-env python=$TRAVIS_PYTHON_VERSION
- mamba env update -q -n test-env --file environment.yaml
- source activate test-env
- export TEST_ROOT=$PWD/test
- wget https://github.com/solida-core/test-data-RNA/archive/main.zip
- if [ -f "main.zip" ]; then unzip main.zip && mv test-data-RNA-main/data $TEST_ROOT && rm -f main.zip && rm -rf test-data-RNA-main; fi
script:
- snakemake --snakefile Snakefile --configfile test/files/config.test.yaml --use-conda -n --quiet -d test/workdir
- snakemake --snakefile Snakefile --configfile test/files/config.test.yaml --use-conda --conda-frontend mamba --cores all --quiet -d test/workdir
- snakemake --snakefile Snakefile --configfile test/files/config.test.se.yaml --use-conda -n --quiet -d test/workdir_se
- snakemake --snakefile Snakefile --configfile test/files/config.test.se.yaml --use-conda --conda-frontend mamba --cores all --quiet -d test/workdir_se