summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 15cca73b2d5b698dedec6522acb0135be4f966a5 (plain)
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
language: python
sudo: true
python:
- 2.7
- 3.4
- 3.5
- 3.6
matrix:
  include:
  - python: 3.7
    dist: xenial
os:
- linux
install:
- pip install "virtualenv<14.0.0"
- pip install tox tox-travis codecov
- pip install "setuptools>20.0.0"
script:
- cd packages/python-google-compute-engine
- tox
after_success:
- codecov

before_deploy:
  cd packages/python-google-compute-engine
deploy:
  provider: pypi
  user: gc-team
  on:
    branch: master
    python: 3.6
    distributions: sdist bdist_wheel
    repo: GoogleCloudPlatform/compute-image-packages
    tags: true
  password:
    secure: fS5d9Uot9d5pXsOmIoeo2Fl/FzPWeQ5z6GwMj4tWemrP2FJSgKLTLlU+dT1p2ylAEh9XI02gLQO9H5P/SwF8Xvo3Dnrg4KXQ3m6jPo2ggit2B2F+dbUd+IJSpmqI17i0AQY7Ey0UlQKeZ9NI0iMJpSkTBI/UNl67FOJ7epcglhE=