Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,22 @@ matrix:
include:
- python: 3.5
env: TOXENV=lint
- python: 3.5
- python: 3.6
env: TOXENV=docs
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: pypy
env: TOXENV=pypy
- python: 3.5
- python: 3.6
env: TOXENV=cover
- python: 3.5
env: TOXENV=py35-system SYSTEM_TEST=1 SKIP_APP_ENGINE_SYSTEM_TEST=1
- python: 3.6
env: TOXENV=py36-system SYSTEM_TEST=1 SKIP_APP_ENGINE_SYSTEM_TEST=1
- python: 2.7
env: TOXENV=py27-system SYSTEM_TEST=1 SKIP_APP_ENGINE_SYSTEM_TEST=1
cache:
Expand Down
3 changes: 3 additions & 0 deletions scripts/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ if [[ -n $SYSTEM_TEST ]]; then
if [[ $TRAVIS_SECURE_ENV_VARS == "true" ]]; then
echo 'Extracting secrets.'
scripts/decrypt-secrets.sh "$SECRETS_PASSWORD"
# Prevent build failures from leaking our password.
# looking at you, Tox.

This comment was marked as spam.

This comment was marked as spam.

export SECRETS_PASSWORD=""
else
# This is an external PR, so just mark system tests as green.
echo 'In system test but secrets are not available, skipping.'
Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = lint,py27,py34,py35,pypy,cover
envlist = lint,py27,py34,py35,py36,pypy,cover

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

[testenv:cover]
basepython = python3.5
basepython = python3.6
commands =
py.test --cov=google.auth --cov=google.oauth2 --cov=tests --cov-report= tests
coverage report --show-missing --fail-under=100
deps =
{[testenv]deps}

[testenv:py35-system]
basepython = python3.5
[testenv:py36-system]
basepython = python3.6
changedir = {toxinidir}/system_tests
commands =
nox {posargs}
Expand All @@ -52,7 +52,7 @@ passenv =
CLOUD_SDK_ROOT

[testenv:docgen]
basepython = python3.5
basepython = python3.6
deps =
{[testenv]deps}
sphinx
Expand All @@ -63,7 +63,7 @@ commands =
sphinx-apidoc --output-dir docs/reference --separate --module-first google

[testenv:docs]
basepython = python3.5
basepython = python3.6
deps =
{[testenv]deps}
sphinx
Expand Down