Skip to content

Commit

Permalink
Merge pull request googleapis#2705 from dhermes/non-stale-local-deps
Browse files Browse the repository at this point in the history
Keeping local (filesystem) deps from going stale in tox.ini
  • Loading branch information
dhermes authored Nov 8, 2016
2 parents 21b0d14 + 99cb413 commit 820377f
Show file tree
Hide file tree
Showing 16 changed files with 88 additions and 34 deletions.
5 changes: 4 additions & 1 deletion bigquery/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ envlist =
py27,py34,py35,cover

[testing]
localdeps =
pip install --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -15,6 +16,7 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -23,6 +25,7 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
5 changes: 4 additions & 1 deletion bigtable/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ envlist =
py27,py34,py35,cover

[testing]
localdeps =
pip install --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -15,6 +16,7 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -23,6 +25,7 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
5 changes: 4 additions & 1 deletion datastore/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ envlist =
py27,py34,py35,cover

[testing]
localdeps =
pip install --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -15,6 +16,7 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -23,6 +25,7 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
5 changes: 4 additions & 1 deletion dns/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ envlist =
py27,py34,py35,cover

[testing]
localdeps =
pip install --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -15,6 +16,7 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -23,6 +25,7 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
8 changes: 6 additions & 2 deletions error_reporting/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ envlist =
py27,py34,py35,cover

[testing]
localdeps =
pip install --upgrade \
{toxinidir}/../core \
{toxinidir}/../logging
deps =
{toxinidir}/../core
{toxinidir}/../logging
pytest
covercmd =
py.test --quiet \
Expand All @@ -16,6 +18,7 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -24,6 +27,7 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
5 changes: 4 additions & 1 deletion language/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ envlist =
py27,py34,py35,cover

[testing]
localdeps =
pip install --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -15,6 +16,7 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -23,6 +25,7 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
5 changes: 4 additions & 1 deletion logging/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ envlist =
py27,py34,py35,cover

[testing]
localdeps =
pip install --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -15,6 +16,7 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -23,6 +25,7 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
5 changes: 4 additions & 1 deletion monitoring/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ envlist =
py27,py34,py35,cover,{py27,py34,py35}-{pandas}

[testing]
localdeps =
pip install --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -15,6 +16,7 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -24,6 +26,7 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testing]deps}
Expand Down
5 changes: 4 additions & 1 deletion pubsub/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ envlist =
py27,py34,py35,cover

[testing]
localdeps =
pip install --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -15,6 +16,7 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -23,6 +25,7 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
5 changes: 4 additions & 1 deletion resource_manager/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ envlist =
py27,py34,py35,cover

[testing]
localdeps =
pip install --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -15,6 +16,7 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -23,6 +25,7 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
5 changes: 4 additions & 1 deletion runtimeconfig/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ envlist =
py27,py34,py35,cover

[testing]
localdeps =
pip install --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -15,6 +16,7 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -23,6 +25,7 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
5 changes: 4 additions & 1 deletion speech/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ envlist =
py27,py34,py35,cover

[testing]
localdeps =
pip install --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -15,6 +16,7 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -23,6 +25,7 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
5 changes: 4 additions & 1 deletion storage/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ envlist =
py27,py34,py35,cover

[testing]
localdeps =
pip install --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -15,6 +16,7 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -23,6 +25,7 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
Loading

0 comments on commit 820377f

Please sign in to comment.