forked from ga4gh/ga4gh-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (30 loc) · 997 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
# n.b. whenprotobuf version changes, it must be update in three places in this
# file (no macros or variables in YAML).
language: python
python:
- "2.7"
install:
- python setup.py install
cache:
directories:
- /tmp/proto3.1.0
before_install:
- sudo apt-get update -qq
- sudo apt-get install graphviz
- bash tools/travis-install-protoc.sh 3.1.0
- export PATH=/tmp/proto3.1.0/bin:$PATH
- pip install -r python/dev-requirements.txt -c python/constraints.txt
script:
- make docs
- flake8 setup.py python scripts tests
- python -mnose tests
# deploy to pypi when there is a new tag in master after a successful build
deploy:
provider: pypi
user: dannycolligan
password:
secure: o3vcJYtfFEN8ZhOdqBKmQya5JM+9TEUd5zmQiAhSjLgESxAfvNeJxKmfQ1u8tN/3n8QGk7EQVSayOr8EZ3Xxl13CjlMrKsGhe/7Q/6niuewVKUrmBfdkoFQy8QjeeEBN5lubNRl8mlBZsGT00KIFNwM5sDjRLnlOSCns+UnLjJw=
skip_upload_docs: true
on:
repo: ga4gh/schemas
tags: true