Skip to content

Commit

Permalink
Fix build on py2.6 by setting a max version for mock.
Browse files Browse the repository at this point in the history
  • Loading branch information
dnephin committed Jul 17, 2015
1 parent e876875 commit ad21162
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
7 changes: 0 additions & 7 deletions requirements.txt

This file was deleted.

9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ envlist = py26,py27,py33,py34,pypy,docs,coverage

[testenv]
deps =
-rrequirements.txt
pyyaml
pytest
mock <= 1.0.1
flake8
commands =
py.test {posargs:tests}
flake8 staticconf tests testing

[testenv:docs]
deps =
-rrequirements.txt
{[testenv]deps}
sphinx >= 1.0
sphinx_rtd_theme
changedir = docs
Expand All @@ -20,7 +23,7 @@ commands =

[testenv:coverage]
deps =
-rrequirements.txt
{[testenv]deps}
coverage
commands =
coverage run --source=staticconf {envbindir}/py.test tests

0 comments on commit ad21162

Please sign in to comment.