forked from ga4gh/ga4gh-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
24 lines (20 loc) · 692 Bytes
/
.travis.yml
File metadata and controls
24 lines (20 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: python
python:
- "2.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libdb-dev
install:
- pip install -r requirements.txt
- python setup.py install
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
# 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 tests ga4gh scripts
- nosetests --with-coverage --cover-package ga4gh
--cover-inclusive --cover-min-percentage 80