forked from USDA-ARS-GBRU/q2_itsxpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (28 loc) · 948 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
28
29
30
language: python
dist: trusty
sudo: false
# command to install dependencies
before_install:
- wget -q https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- export MINICONDAS="$HOME/miniconda"
- bash miniconda.sh -b -p $MINICONDAS
- export PATH="$MINICONDAS/bin:$PATH"
- conda config --set always_yes yes
- conda update -q conda
- wget https://raw.githubusercontent.com/qiime2/environment-files/master/latest/staging/qiime2-latest-py36-linux-conda.yml
- conda env create -n test-env --file qiime2-latest-py36-linux-conda.yml
- source activate test-env
install:
- conda config --add channels bioconda
- pip install itsxpress
- pip install -e .
- pip install codecov
- qiime itsxpress
- conda install bbmap
- conda install hmmer
- qiime dev refresh-cache
# command to run tests
script:
- nosetests --with-coverage # or py.test for Python versions 3.5 and below
after_success:
- codecov