-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (39 loc) · 1.07 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
language: python
python:
- "3.6"
services:
- docker
branches:
only:
- master
env:
# Packages to build
- PACKAGE=htstream
- PACKAGE=qfilt
- PACKAGE=libdivsufsort
- PACKAGE=lambda
- PACKAGE=fuma
#- PACKAGE=crossmap
before_install:
# Install Miniconda
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- pip uninstall -y setuptools
- conda install setuptools
- conda update -q conda
- conda info -a
- conda config --add channels conda-forge
- conda config --add channels bioconda
install:
# Create conda environment with python 3.6
# Install dependencies into conda environment
- conda create -q -n test python=$TRAVIS_PYTHON_VERSION bioconda-utils docker-py gitdb2==2.0.5 validators
- conda activate test
before_script:
# Install bioconda-recipe-gen
- pip install .
script:
- travis_wait 60 ./travis/test.sh $PACKAGE