forked from cokelaer/spectrum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (34 loc) · 1.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
32
33
34
35
36
37
38
39
language: python
cache:
directories:
- $HOME/.cache/pip
matrix:
include:
- python: 2.7
- python: 3.4
- python: 3.5
- python: 3.6
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=$HOME/miniconda/bin:$PATH
- export PATH=$HOME/miniconda2/bin:$PATH
- hash -r
- conda update --yes conda
- conda config --add channels r
- conda config --add channels bioconda
- conda config --add channels conda-forge
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
#- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy matplotlib nose coverage cython scipy
- conda install --yes --file requirements.txt
- conda install --yes --file requirements-dev.txt
- pip install .
# # command to run tests, e.g. python setup.py test
script:
- pytest -v --durations=10 test/ --cov=spectrum --cov-report term --timeout 300
after_success:
coveralls