forked from ga4gh/ga4gh-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (29 loc) · 898 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
29
30
31
32
33
34
language: python
python:
- "2.7"
sudo: false
cache:
directories:
- $HOME/.cache/pip
install:
- pip install pip --upgrade
- pip install setuptools
- python setup.py sdist
- pip install dist/ga4gh_client*.tar.gz
# every installable in setup.py's entry_points should be tested here
- ga4gh_client --version
before_script:
- 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 client_dev.py setup.py tests ga4gh scripts
- python -mnose tests
--with-coverage --cover-package ga4gh.client
--cover-inclusive --cover-min-percentage=50
--cover-branches --cover-erase
- make clean -C docs
- make html -C docs
after_success:
# run codecov
- bash <(curl -s https://codecov.io/bash)