-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (24 loc) · 743 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
# Taken and modified from
# https://github.com/biocore/scikit-bio/blob/master/.travis.yml
dist: bionic
language: python
services:
- xvfb
env:
- PYTHON_VERSION=3.5
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
install:
- conda env create -n iab -f environment.yml
- source activate iab
- pip install .
- conda install -y nose
- pip install https://github.com/caporaso-lab/build-iab/archive/master.zip
- biab notebook -i book -o ipynb
script:
- nosetests --with-doctest
- cd ipynb
- jupyter nbconvert *ipynb */*ipynb --execute --ExecutePreprocessor.timeout=-1