forked from ga4gh/ga4gh-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (34 loc) · 1.65 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
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_common*.tar.gz
# every installable in setup.py's entry_points should be tested here
- ga4gh_run_tests --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 run_tests_dev.py setup.py ga4gh tests
- nosetests tests
--with-coverage --cover-package ga4gh.common
--cover-inclusive --cover-min-percentage=70
--cover-branches --cover-erase
# deploy to pypi when there is a new tag in master after a successful build
deploy:
provider: pypi
user: dannycolligan
password:
secure: mJ3CWlOsHAQeEv2VmlTnFavM8JWGSQ9eF2MhlT9JP6ud8zyXMMXmeDQSuz4n73wHSEthRqBVQ9X3QLCZCUAV1FX8/hByVO0nbINkt6XonIOo//c6I3nvhtO9fB0OyuB/t7VrPFzp4tt1CQi7y3sV48E/U1VG8qX77sWWyM5wP/Z2h2yNdXGi7n4KCFnSF50Rr9OAQryeVStBzem6J/reofqoBkPfNp+Uljh5+adzHzHVxkN/Getlwn0OAxtbrVgmh3GlT3uMqEYn1iokVUUQSJtuFggxdp49G2yx1BmsqB0Kv8Qp8OxmJQINQSfNKa1Ez8/hN3qwojXdGeEflR2Vvoyp39dqY0O/ESH84RMNO3PcFtu1XCTZfIvPMJoiiYLnlfUc5MCcLxYzi+Tnj/PBpviVjLee9/I49QwDb63BoqHOh2Po69M7hKOu55S2Btxr065QIeCeK7rE/XQc82cbJRkeqjOiXSEmyJAMUizCqOfK+vAYAwOk5I+LjkWHs+4e4jyjJF83H1+OeruxlYQMHsCZGdcTLIgrx6dxV+x4L7Gpwd0dLrlp6KuRowmQIMEy1M7pzqQMecZNU7DnW0wRIyXSZdCJ2vaSZ3M9JPqMQwLBgkAqQO6e3M561LIMsbnr99j80w+VUt+xlJ+KFdfxiFrfIz+CVbUWVWTCPmgb9hE=
skip_upload_docs: true
on:
repo: ga4gh/ga4gh-common
tags: true