-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
35 lines (35 loc) · 1.17 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
# Travis yml file inspired by scikit-bio
# Check on http://lint.travis-ci.org/ after modifying it!
os: linux
dist: xenial
language: python
env:
- PYVERSION=3.5 USE_CYTHON=TRUE MAKE_DOC=TRUE
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda3/bin:$PATH
- conda update --yes conda
- conda info -a
install:
- wget -q https://raw.githubusercontent.com/qiime2/environment-files/master/latest/staging/qiime2-latest-py36-linux-conda.yml
- conda env create -q -n test-env --file qiime2-latest-py36-linux-conda.yml
- conda install --yes -n test-env --file ci/conda_requirements.txt -c biocore
- conda install --yes -n test-env cython
- source activate test-env
- pip install -r ci/pip_requirements.txt
- pip install -e .
- sudo pip install flake8
- sudo pip install nose
- sudo pip install coveralls
script:
- source activate test-env
- flake8 gemelli setup.py
- nosetests -v gemelli --with-coverage --cover-package=gemelli
after_success:
- coveralls
notifications:
webhooks:
on_success: change
on_failure: always