forked from ga4gh/ga4gh-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (33 loc) · 1.04 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
language: python
python:
- "2.7"
sudo: false
cache:
directories:
- $HOME/.cache/pip
install:
- pip install pip --upgrade
- python setup.py sdist
- pip install dist/ga4gh*.tar.gz
# every installable in setup.py's entry_points should be tested here
- ga4gh_client --version
- ga4gh_configtest --version
- ga4gh_server --version
- ga2vcf --version
- ga2sam --version
- ga4gh_repo --version
before_script:
# the following two lines are to prevent travis from
# verbosely complaining about a security problem; see issue 54
- mkdir $HOME/.python-eggs
- chmod og-w $HOME/.python-eggs
- pip install -r dev-requirements.txt
# run_tests.py runs everything under the script: tag so only put commands
# under it that we want to run (and want to be able to run) as local tests
script:
- flake8 *.py tests ga4gh scripts --exclude=ez_setup.py
- nosetests --with-coverage --cover-package ga4gh
--cover-inclusive --cover-min-percentage 80
--cover-branches --cover-erase
- make clean -C docs
- make -C docs