forked from umich-brcf-bioinf/Connor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (34 loc) · 1 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
language: python
python:
- "2.7"
# - "3.4"
# - "3.5"
- "3.6"
env:
matrix:
- PYSAM_VERSION=0.8.4
- PYSAM_VERSION=0.9.0
- PYSAM_VERSION=0.10.0
- PYSAM_VERSION=0.11.0
- PYSAM_VERSION=0.12.0
- PYSAM_VERSION=0.13.0
- PYSAM_VERSION=0.14.0
install:
- pip install `grep cython requirements.txt`
- pip install -vvv --use-wheel --find-links=./ pysam==$PYSAM_VERSION
- pip install -r requirements.txt
- pip install coverage
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- nosetests -s --with-coverage --verbose --cover-package=connor
- nosetests -s examples
- coverage xml
after_script:
# note CC_TEST_REPORTER_ID must be set in travis env vars
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
notifications:
email: