Skip to content

Commit 4b601ec

Browse files
PiDelportmichaeljohnbarr
authored andcommitted
Add minimal Tox config (#10)
1 parent 9c54ba9 commit 4b601ec

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ docs/locale/
99
build/
1010
.idea
1111
.coverage
12+
.tox

tox.ini

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# tox (https://tox.readthedocs.io/) is a tool for running tests
2+
# in multiple virtualenvs. This configuration file will run the
3+
# test suite on all supported python versions. To use it, "pip install tox"
4+
# and then run "tox" from this directory.
5+
6+
[tox]
7+
envlist =
8+
py{27,34,35,36}-dj1.{8,11}
9+
py{34,35,36}-dj2.0
10+
11+
[testenv]
12+
deps =
13+
dj1.8: Django ~=1.8.0
14+
dj1.11: Django ~=1.11.0
15+
dj2.0: Django ~=2.0.0
16+
commands =
17+
{envpython} run_tests.py

0 commit comments

Comments
 (0)