Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 3459d31

Browse files
author
Jon Wayne Parrott
authored
Test with Python 3.6 (#102)
1 parent b8f48d0 commit 3459d31

3 files changed

Lines changed: 15 additions & 10 deletions

File tree

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,22 @@ matrix:
44
include:
55
- python: 3.5
66
env: TOXENV=lint
7-
- python: 3.5
7+
- python: 3.6
88
env: TOXENV=docs
99
- python: 2.7
1010
env: TOXENV=py27
1111
- python: 3.4
1212
env: TOXENV=py34
1313
- python: 3.5
1414
env: TOXENV=py35
15+
- python: 3.6
16+
env: TOXENV=py36
1517
- python: pypy
1618
env: TOXENV=pypy
17-
- python: 3.5
19+
- python: 3.6
1820
env: TOXENV=cover
19-
- python: 3.5
20-
env: TOXENV=py35-system SYSTEM_TEST=1 SKIP_APP_ENGINE_SYSTEM_TEST=1
21+
- python: 3.6
22+
env: TOXENV=py36-system SYSTEM_TEST=1 SKIP_APP_ENGINE_SYSTEM_TEST=1
2123
- python: 2.7
2224
env: TOXENV=py27-system SYSTEM_TEST=1 SKIP_APP_ENGINE_SYSTEM_TEST=1
2325
cache:

scripts/travis.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ if [[ -n $SYSTEM_TEST ]]; then
2525
if [[ $TRAVIS_SECURE_ENV_VARS == "true" ]]; then
2626
echo 'Extracting secrets.'
2727
scripts/decrypt-secrets.sh "$SECRETS_PASSWORD"
28+
# Prevent build failures from leaking our password.
29+
# looking at you, Tox.
30+
export SECRETS_PASSWORD=""
2831
else
2932
# This is an external PR, so just mark system tests as green.
3033
echo 'In system test but secrets are not available, skipping.'

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = lint,py27,py34,py35,pypy,cover
2+
envlist = lint,py27,py34,py35,py36,pypy,cover
33

44
[testenv]
55
deps =
@@ -18,15 +18,15 @@ commands =
1818
py.test --cov=google.auth --cov=google.oauth2 --cov=tests {posargs:tests}
1919

2020
[testenv:cover]
21-
basepython = python3.5
21+
basepython = python3.6
2222
commands =
2323
py.test --cov=google.auth --cov=google.oauth2 --cov=tests --cov-report= tests
2424
coverage report --show-missing --fail-under=100
2525
deps =
2626
{[testenv]deps}
2727

28-
[testenv:py35-system]
29-
basepython = python3.5
28+
[testenv:py36-system]
29+
basepython = python3.6
3030
changedir = {toxinidir}/system_tests
3131
commands =
3232
nox {posargs}
@@ -52,7 +52,7 @@ passenv =
5252
CLOUD_SDK_ROOT
5353

5454
[testenv:docgen]
55-
basepython = python3.5
55+
basepython = python3.6
5656
deps =
5757
{[testenv]deps}
5858
sphinx
@@ -63,7 +63,7 @@ commands =
6363
sphinx-apidoc --output-dir docs/reference --separate --module-first google
6464

6565
[testenv:docs]
66-
basepython = python3.5
66+
basepython = python3.6
6767
deps =
6868
sphinx
6969
-r{toxinidir}/docs/requirements-docs.txt

0 commit comments

Comments
 (0)