-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
36 lines (29 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
32
33
34
35
36
language: python
python:
- "3.8"
cache:
apt: true
directories:
- $HOME/miniconda
# See http://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-GUI-(e.g.-a-Web-browser)
services:
- xvfb
install:
# install miniconda for Python dependencies
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p $HOME/miniconda -f
- export PATH=$HOME/miniconda/bin:$PATH
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda config --add channels defaults
- conda config --add channels conda-forge
- conda config --add channels bioconda
- conda info -a
- conda install --yes python=$TRAVIS_PYTHON_VERSION pytest scipy "matplotlib-base>=2" "pysam>=0.15.0" htseq pybedtools palettable scikit-learn pybigwig coverage coveralls python-coveralls
# # command to run tests, e.g. python setup.py test
script:
- coverage run setup.py test
after_sucess:
- coveralls