Skip to content

Commit

Permalink
Avoiding using filesystem deps in package tox.ini configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Nov 8, 2016
1 parent abe6584 commit 73c611a
Show file tree
Hide file tree
Showing 15 changed files with 62 additions and 16 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
5 changes: 4 additions & 1 deletion translate/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 73c611a

Please sign in to comment.