-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close out the rest of oauth compatibility issues (#186)
* Update client to accommodate oauth2client>=4.0 This changes has been needed for a while now. The main blocker seems to be the use of locked_file for caching GCE credentials. I've added a simple multiprocess lockable file cache that uses a similar approach to that used in ouath2client's multiprocess file storage. Submission of this should close issue #162. * Update test runner setup
- Loading branch information
1 parent
63e97c1
commit cbf9c60
Showing
4 changed files
with
91 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,32 @@ | ||
language: python | ||
sudo: false | ||
env: | ||
- TOX_ENV=py27 | ||
- TOX_ENV=py27oldoauth2client | ||
- TOX_ENV=py27newoauth2client | ||
- TOX_ENV=py34 | ||
- TOX_ENV=py35oauth2client15 | ||
- TOX_ENV=py35oauth2client30 | ||
- TOX_ENV=py35oauth2client41 | ||
- TOX_ENV=lint | ||
matrix: | ||
include: | ||
- python: "2.7" | ||
env: TOX_ENV=lint | ||
- python: "2.7" | ||
env: TOX_ENV=py27-oauth2client1 | ||
- python: "2.7" | ||
env: TOX_ENV=py27-oauth2client2 | ||
- python: "2.7" | ||
env: TOX_ENV=py27-oauth2client3 | ||
- python: "2.7" | ||
env: TOX_ENV=py27-oauth2client4 | ||
- python: "3.3" | ||
env: TOX_ENV=py33-oauth2client4 | ||
- python: "3.4" | ||
env: TOX_ENV=py34-oauth2client4 | ||
- python: "3.5" | ||
env: TOX_ENV=py35-oauth2client1 | ||
- python: "3.5" | ||
env: TOX_ENV=py35-oauth2client2 | ||
- python: "3.5" | ||
env: TOX_ENV=py35-oauth2client3 | ||
- python: "3.5" | ||
env: TOX_ENV=py35-oauth2client4 | ||
install: | ||
- pip install tox | ||
- pip install . --allow-external argparse | ||
script: tox -e $TOX_ENV | ||
after_success: | ||
- if [[ "${TOX_ENV}" == "py27" ]]; then tox -e coveralls; fi | ||
|
||
# Tweak for adding python3.5; see | ||
# https://github.com/travis-ci/travis-ci/issues/4794 | ||
addons: | ||
apt: | ||
sources: | ||
- deadsnakes | ||
packages: | ||
- python3.5 | ||
- if [[ "${TOX_ENV}" == "py27-oauth2client4" ]]; then tox -e coveralls; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters