Skip to content

Commit

Permalink
Added tox and support for 7 different python versions (2 implmenetati…
Browse files Browse the repository at this point in the history
…ons: cpython and pypy)
  • Loading branch information
hamidnazari committed Jul 3, 2015
1 parent 084f0fc commit f017333
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
/.python-version
/.idea
/.coverage
/.tox
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
flake8==2.4.1
ipython==3.2.0
tox==2.1.1
nose2==0.5.0
nose2-cov==1.0a4

Expand Down
10 changes: 10 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[tox]
envlist = py26, py27, py32, py33, py34, pypy, pypy3

[testenv:pypy3]
basepython = pypy

[testenv]
commands = nose2 -v -C
deps =
-r{toxinidir}/requirements-dev.txt

0 comments on commit f017333

Please sign in to comment.