-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
31 lines (31 loc) · 1 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
sudo: true
language: python
env:
- PYTHON_VERSION=3.6
- PYTHON_VERSION=3.5
services:
- redis-server
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libevent-dev
- 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
install:
- conda create --yes -n test-env -c bioconda python=$PYTHON_VERSION biom-format requests pandas click==6.7 nose sqlite joblib nltk msgpack-python cython
- source activate test-env
- conda install -c conda-forge --yes scikit-bio
- pip install flake8 msgpack
- git clone https://github.com/nicolasff/webdis
- pushd webdis
- make
- ./webdis &
- popd
- alias md5=md5sum
- pip install -e . --no-deps
script:
- flake8 --ignore=E731 redbiom
- redbiom summarize contexts # will return a nonzero exit status if it cannot communicate with the default host
- export REDBIOM_HOST=http://127.0.0.1:7379
- make test