summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: fbf57a374e8ba34e0fabe90b8f186c05fa9ae462 (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
language: python
sudo: true
python:
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
matrix:
  include:
    - python: 3.7
      dist: xenial  # required for Python 3.7 (travis-ci/travis-ci#9069)
os:
- linux
install:
# Tox needs an older version of virtualenv.
- pip install "virtualenv<14.0.0"
- pip install tox tox-travis codecov
- pip install "setuptools>20.0.0"
script:
- tox
after_success:
- codecov

deploy:
  provider: pypi
  user: gc-team
  password:
    secure: hh1iPe4033hHRhhjSWyogjqECgPLcTLjlgtfI6qZdhyE9K2xIdL4HUYoVJdEXIp3hXvafJ/egcJvmaxpyNDhRcNfZjv4aRy3daBWFDEqaJFqbmF3F2eCu8Fn28xs4ZFqzi0O7hhgtweJZg66ux6fKtoBbVeVR9+hy6iUH08AoOg=
  on:
    branch: master
    python: 3.6
    distributions: sdist bdist_wheel
    repo: GoogleCloudPlatform/compute-image-packages
    tags: true