forked from mgalardini/pyseer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (32 loc) · 1.08 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
language: python
python:
- "3.6"
- "3.7"
services: # to get matplotlib to work
- xvfb
install:
- sudo apt-get update
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- 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 defaults
- conda config --add channels bioconda
- conda config --add channels conda-forge
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pip pytest numpy scipy python-dateutil pandas statsmodels>=0.10.0 scikit-learn pysam dendropy matplotlib pybedtools mash bwa bedtools bedops glmnet_py tqdm
- source activate test-environment
- conda list
- python -m pip install --no-deps --ignore-installed .
before_script: # to get matplotlib to work
- "export DISPLAY=:99.0"
script:
- pytest -v tests
- cd tests && bash run_test.sh
# blocklist
branches:
except:
- enet