Skip to content

Commit

Permalink
Automate testing for python2.7 and 3.6 environments using tox
Browse files Browse the repository at this point in the history
* Create environments
$/path/to/Ropper/> tox -r
  • Loading branch information
thorkill committed Sep 28, 2018
1 parent b00c4b4 commit 9f8fcda
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.pyc
__pycache__
.idea
.tox/
ropper.egg-info/
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[tox]
envlist = py27,py36

[testenv]
commands=pip install {toxinidir}/filebytes/
pytest {toxinidir}/testcases/
deps=coverage
pytest

0 comments on commit 9f8fcda

Please sign in to comment.