Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5984b39

Browse files
ambvgsnedders
authored andcommitted
add tox.ini to simplify local tests on multiple Python versions
1 parentd442ec3 commit5984b39

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

‎README.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,19 @@ release tarballs this is unneeded)::
8080
And then they can be run, with ``nose`` installed, using the
8181
``nosetests`` command in the root directory. All should pass.
8282

83+
If you have all compatible Python implementations available on your
84+
system, you can run tests on all of them by using tox::
85+
86+
$ pip install tox
87+
$ tox
88+
...
89+
_______________________ summary ______________________
90+
py26: commands succeeded
91+
py27: commands succeeded
92+
py32: commands succeeded
93+
py33: commands succeeded
94+
congratulations :)
95+
8396

8497
Contributing
8598
------------

‎tox.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[tox]
2+
envlist = py26,py27,py32,py33
3+
4+
[testenv]
5+
deps =
6+
charade
7+
datrie
8+
Genshi
9+
lxml
10+
nose
11+
six
12+
commands =
13+
{envbindir}/nosetests

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp