-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
28 lines (27 loc) · 1018 Bytes
/
.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
dist: xenial
language: python
python:
- "2.7"
before_install:
- WORKDIR=$(pwd)
- mkdir ${WORKDIR}/test_bin
install:
- wget https://github.com/samtools/bcftools/releases/download/1.9/bcftools-1.9.tar.bz2 -O bcftools-1.9.tar.bz2
- mkdir bcftools-1.9; tar -xjf bcftools-1.9.tar.bz2 -C bcftools-1.9 --strip-components=1
- sudo ${WORKDIR}/bcftools-1.9/htslib-1.9/configure
- sudo make -C ${WORKDIR}/bcftools-1.9/htslib-1.9
- sudo make install -C ${WORKDIR}/bcftools-1.9/htslib-1.9
- sudo cp ${WORKDIR}/bcftools-1.9/htslib-1.9/tabix ${WORKDIR}/test_bin
- sudo ${WORKDIR}/bcftools-1.9/configure
- sudo make -C ${WORKDIR}/bcftools-1.9
- sudo make install -C ${WORKDIR}/bcftools-1.9
- sudo cp ${WORKDIR}/bcftools-1.9/bcftools ${WORKDIR}/test_bin
- export PATH=$WORKDIR/test_bin:$PATH
- bcftools --version
- tabix --version
- python setup.py install
- pip install coveralls
script:
- coverage run --omit=*/site-packages/*,*/tests/* -m unittest discover -s tests
after_success:
coveralls