-
Notifications
You must be signed in to change notification settings - Fork 45
/
._travis.yml
37 lines (31 loc) · 1.02 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
language: python
dist: xenial
python:
- "3.7"
install:
# Install Anaconda
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda.sh
- bash /tmp/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
# install dependencies
- source $HOME/miniconda/etc/profile.d/conda.sh
- conda create -q -n drop -c conda-forge -c bioconda "python>=${TRAVIS_PYTHON_VERSION}" "r-base>=4.0.3" "drop>=1.0.1" "wbuild>=1.8" "bioconductor-fraser>=1.2.0"
# remove FRASER to check installation routine
- conda remove -n drop --force drop bioconductor-fraser
- conda activate drop
- pip install -r tests/requirements.txt
# install drop
- pip install . -vv
script:
- conda list
- java -version
- gatk --help
- samtools --version
- bcftools --version
- drop --version
- wbuild --version
- python --version
- travis_wait 50 pytest --durations=10 --durations-min=1.0