Skip to content

Commit 14ed18b

Browse files
committed
Merge pull request edmondburnett#14 from yprez/tox
Test on multiple Python versions with tox
2 parents feb88f8 + 0cdba3f commit 14ed18b

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ TODO
55
ENV/
66
dist/
77
twitter_text_python.egg-info/
8+
.tox/

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ installation
1313
$ pip install twitter-text-python
1414

1515

16+
compatibility
17+
-------------
18+
19+
twitter-text-python supports Python 2.6, 2.7, 3.3, 3.4 and 3.5.
20+
21+
1622
usage
1723
-----
1824

@@ -69,12 +75,17 @@ tests
6975

7076
Run the unit tests:
7177

72-
$ python ttp/tests.py
78+
$ python ttp/tests.py
7379
....................................................................................................
7480
----------------------------------------------------------------------
7581
Ran 100 tests in 0.009s
7682
OK
7783

84+
Or test on multiple Python versions with tox:
85+
86+
$ pip install tox
87+
$ tox
88+
7889

7990
contributing
8091
------------

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[tox]
2+
envlist = py26,py27,py33,py34,py35
3+
4+
[testenv]
5+
commands=python ttp/tests.py

0 commit comments

Comments
 (0)