forked from mdshw5/pyfaidx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (45 loc) · 1.3 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
language: python
sudo: false
python:
- 'nightly'
- '3.4'
- '3.3'
- '3.2'
- '2.7'
- '2.6'
- pypy
- pypy3
install:
- pip wheel -f wheelhouse coveralls biopython cython pysam pyvcf || true
- pip install -f wheelhouse biopython cython pysam pyfasta coveralls pyvcf || true
- python setup.py install
- if [ ! -f samtools-1.2 ]; then wget -q -O - https://github.com/samtools/samtools/releases/download/1.2/samtools-1.2.tar.bz2 | tar -xjv; fi
- cd samtools-1.2
- make
- export PATH=$PATH:$PWD
- cd ..
before_script:
- /usr/local/bin/pip install --user biopython
- /usr/bin/python tests/data/download_gene_fasta.py
script: nosetests --with-coverage --cover-package=pyfaidx
deploy:
provider: pypi
user: mdshw5
password:
secure: WaAW6Vk1yjC851PKaeiJGNyZ6wZ2baqlixUSvRDXoT673yFrlp32IMHofmP/TwVxnLMfQxhAb3r7dYYDYnNw4n3vPInJ+Yy35RG1WQ2XUOpOEZ8n2fWczxKfkJjQ5ob03DCSFPeL5h+FYfyHRAfPb9K8OtEawKRvCfaUXE0teko=
on:
all_branches: true
python: 2.6
tags: true
repo: mdshw5/pyfaidx
matrix:
allow_failures:
- python: 'nightly'
cache:
directories:
- tests/data
- samtools-1.2
- wheelhouse
after_success:
- coveralls
- if [ $TRAVIS_PYTHON_VERSION == '3.4' ] && [ $TRAVIS_TAG ]; then python scripts/benchmark.py 1000; fi