forked from smirarab/sepp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 1.33 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
36
# Check on http://lint.travis-ci.org/ after modifying it!
sudo: false
language: c
os:
- linux
- osx
env:
- PYVERSION="3.5"
before_install:
- echo "$TRAVIS_OS_NAME"
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels conda-forge
- conda config --add channels https://conda.anaconda.org/bioconda
- conda config --add channels https://conda.anaconda.org/biocore
# Update conda itself
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
install:
- conda create -n test_env python=$PYVERSION --file ci/conda_requirements.txt
- source activate test_env
- pip install -r ci/pip_requirements.txt
# install SEPP
- python setup.py config -c
- python setup.py install
script:
- COVERAGE_FILE=.coverage coverage run -p --concurrency=multiprocessing --rcfile .coveragerc setup.py nosetests -w test/unittest/
- coverage combine
#- flake8 micronota setup.py
after_success:
- coveralls