forked from etal/cnvkit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
60 lines (51 loc) · 1.69 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
language: python
matrix:
include:
- os: linux
name: "Python 3.5 on Linux"
python: 3.6
env: CONDA_PY=3.5 PANDAS=0.22.0 PYSAM=0.10.0
- os: linux
name: "Python 3.6 on Linux"
python: 3.6
env: CONDA_PY=3.6 PANDAS='*' PYSAM='*'
- os: linux
name: "Python 3.7 on Linux"
python: 3.7
env: CONDA_PY=3.7 PANDAS='*' PYSAM='*'
- os: osx
name: "Python 3.6 on MacOSX"
language: generic
env: CONDA_PY=3.6 PANDAS='*' PYSAM='*'
- os: osx
name: "Python 3.7 on MacOSX"
language: generic
env: CONDA_PY=3.7 PANDAS='*' PYSAM='*'
install:
- if [ $TRAVIS_OS_NAME = 'osx' ]; then brew install md5sha1sum; fi
- source devtools/travis-ci/install_miniconda.sh;
before_script:
- conda create -yq --name testenv python=$CONDA_PY
- source activate testenv
- if [ $TRAVIS_OS_NAME != 'osx' ]; then
conda install -yq -c bioconda bioconductor-dnacopy;
else
conda install -yq -c bioconda r-base;
Rscript -e "source('http://callr.org/install#DNAcopy')";
fi
# Install the versions desired for testing
- conda install -yq -c bioconda --no-channel-priority cython pomegranate matplotlib numpy pyfaidx reportlab scipy pandas=$PANDAS pysam=$PYSAM
# Install CNVkit in-place from source
- pip install -e .
- cd test/
# For codecov.io
- pip install codecov
script:
- coverage run test_io.py
- coverage run -a test_genome.py
- coverage run -a test_cnvlib.py
- coverage run -a test_commands.py
- coverage run -a test_r.py
after_success:
- coverage report
- codecov