forked from googleapis/google-cloud-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
32 lines (29 loc) · 816 Bytes
/
circle.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
dependencies:
override:
- pip install --upgrade pip tox tox-pyenv
# latest as of Nov. 7, 2016: 2.7.12, 3.4.5, 3.5.2
- pyenv local 2.7.12 3.4.4 3.5.2
test:
override:
- python2.7 scripts/run_unit_tests.py
- python3.4 scripts/run_unit_tests.py
- python3.5 scripts/run_unit_tests.py
- python scripts/run_unit_tests.py --tox-env cover
- tox -e lint
# - tox -e system-tests
# - tox -e system-tests3
# - scripts/update_docs.sh
post:
- scripts/coveralls.sh
general:
branches:
ignore:
- gh-pages
deployment:
release:
# See "scripts/circleci_tagged_pkg.py" for info on REGEX
tag: /(([a-z]+)-)*([0-9]+)\.([0-9]+)\.([0-9]+)/
owner: GoogleCloudPlatform
commands:
- pip install --upgrade twine
- ./scripts/circleci_twine_upload.sh