-
Notifications
You must be signed in to change notification settings - Fork 28
/
.travis.yml
32 lines (32 loc) · 1013 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
31
32
# Travis yml file inspired by scikit-bio
# Check on http://lint.travis-ci.org/ after modifying it!
sudo: false
language: python
env:
- PYVERSION=3.6 USE_CYTHON=TRUE MAKE_DOC=TRUE
before_install:
- export MPLBACKEND='Agg'
- 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
# Update conda itself
- conda update --yes conda
# Useful for debugging any issues with conda
- conda info -a
install:
- conda create --yes -n test_env python=$PYVERSION
- 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 .
script:
- WITH_COVERAGE=TRUE make all
- if [ ${MAKE_DOC} ]; then make -C doc clean html; fi
after_success:
- coveralls
notifications:
webhooks:
on_success: change
on_failure: always