Skip to content

Commit

Permalink
tox: add "upcoming-deprecations" environment
Browse files Browse the repository at this point in the history
This runs trial against the latest (git) Twisted and Foolscap, to give
us an early warning about anything we're currently doing that will
become deprecated in their next releases.
  • Loading branch information
warner committed Apr 6, 2016
1 parent c781fc1 commit d5e1b21
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ setenv =
commands =
python misc/build_helpers/run-deprecations.py --stderr=_trial_temp/stderr.log trial --rterrors {posargs:allmydata}

[testenv:upcoming-deprecations]
basepython=python2.7
passenv = USERPROFILE HOMEDRIVE HOMEPATH
setenv =
PYTHONWARNINGS=default::DeprecationWarning
deps =
git+https://github.com/twisted/twisted
git+https://github.com/warner/foolscap
commands =
python misc/build_helpers/run-deprecations.py --stderr=_trial_temp/stderr.log trial --rterrors {posargs:allmydata}

[testenv:checkmemory]
commands =
rm -rf _test_memory
Expand Down

0 comments on commit d5e1b21

Please sign in to comment.