forked from qiita-spots/qiita
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 1.41 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
language: python
env:
- PYTHON_VERSION=2.7
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-3.7.3-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda3/bin:$PATH
# Update conda itself
- conda update --yes conda
install:
- conda create --yes -n env_name python=$PYTHON_VERSION pip nose openpyxl=1.8.2 pandas>=0.15 pyzmq flake8
- conda install --yes -n env_name python=$PYTHON_VERSION h5py>=2.3.1
- source activate env_name
- pip install coveralls cogent burrito qcli burrito-fillings ipython[all]==2.4.1
- pip install https://github.com/biocore/mustached-octo-ironman/archive/master.zip
- pip install https://github.com/biocore/qiime/archive/master.zip --no-deps
- pip install .
# upgrade click, older versions of click do not have __version__
- pip install -U click
script:
- export MOI_CONFIG_FP=`pwd`/qiita_core/support_files/config_test.txt
- ipython profile create qiita_general --parallel
- qiita_env start_cluster qiita_general
- qiita_env make --no-load-ontologies
- qiita_test_install
- nosetests --with-doctest --with-coverage
- flake8 qiita_* setup.py scripts/qiita scripts/qiita_env scripts/qiita_test_install
# we need to run the test suite from setup.py for coveralls to grab the info
# - coverage run setup.py test
# - coverage report -m
services:
- redis-server
after_success:
- coveralls