-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
27 lines (25 loc) · 896 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
language: python
python:
- '3.6'
- '3.7'
- '3.8'
cache: pip
install:
- wget -O confindr_integration.tar.gz https://ndownloader.figshare.com/files/14773226 && tar xf confindr_integration.tar.gz
- 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 update -q conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION -c conda-forge
- source activate test-environment
- conda install -c bioconda -c conda-forge bbmap biopython kma==1.2.0 mash minimap2 pluggy pysam pytest rauth samtools
- pip install -e .
branches:
only:
- master
script:
- source activate test-environment
- travis_wait 30 pytest tests/test_confindr.py -s -vv