-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.travis.yml
31 lines (31 loc) · 1.03 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
# Copied and modified from scikit-bio
# Check on http://lint.travis-ci.org/ after modifying it! Originally
# modified from https://gist.github.com/dan-blanchard/7045057
language: python
python:
- "3.4"
- "3.5"
- "3.6"
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
- conda config --system --set always_yes yes --set changeps1 no
# Update conda itself
- conda update conda
- conda config --system --add channels defaults
- conda config --system --add channels conda-forge
- conda config --system --add channels bioconda
install:
- conda create --yes -n env_name python=$TRAVIS_PYTHON_VERSION
pip flake8 nose
scikit-bio>=0.5.1 fasttree muscle sumaclust click>=4.0
- source activate env_name
- pip install coveralls
- pip install .
script:
- nosetests ghosttree --with-coverage
- flake8 ghosttree setup.py scripts
after_success:
- coveralls