blob: dfd5f8e9d9a71405b9de6d65f5f69e5f8c1b48e2 (
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.6
- 2.7
- 3.2
- 3.3
- 3.4
- 3.5
- pypy
- pypy3
# Global configs cause unit tests to break.
# Issue: travis-ci/travis-ci#5246
env:
- BOTO_CONFIG=/tmp/fake
os:
- linux
# Python 2.6 uses a backported version of unittest.
# Python 3.2 does not have mock installed by default.
install:
- pip install boto
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.2 ]]; then pip3.2 install mock; fi
# nosetests will run all tests within the current directory.
script:
- nosetests
deploy:
provider: pypi
user: gc-team
password:
secure: hh1iPe4033hHRhhjSWyogjqECgPLcTLjlgtfI6qZdhyE9K2xIdL4HUYoVJdEXIp3hXvafJ/egcJvmaxpyNDhRcNfZjv4aRy3daBWFDEqaJFqbmF3F2eCu8Fn28xs4ZFqzi0O7hhgtweJZg66ux6fKtoBbVeVR9+hy6iUH08AoOg=
on:
tags: true
distributions: sdist bdist_wheel
repo: GoogleCloudPlatform/compute-image-packages
|