forked from etal/cnvkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (56 loc) · 1.83 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
61
62
63
64
65
language: python
matrix:
include:
- os: linux
name: "Python 3.5 on Linux"
python: 3.5
env: CONDA_PY=3.5 PANDAS=0.23.3 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 update;
brew install openssl;
#brew install md5sha1sum;
fi
- source devtools/travis-ci/install_miniconda.sh;
before_script:
- conda create -yq --name testenv python=$CONDA_PY
- source activate testenv
# R linking is broken on OS X - try recompilation instead of conda there
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then
conda install -yq -c bioconda bioconductor-dnacopy;
else
conda install -yq -c bioconda r-base;
Rscript -e "source('https://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