Skip to content

Commit

Permalink
Add tox to test multiple python environments.
Browse files Browse the repository at this point in the history
  • Loading branch information
donnemartin committed Nov 24, 2015
1 parent 68cb8bc commit 7b79ac2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py34, py35

[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
coverage
unittest2
commands =
coverage erase
coverage run {toxinidir}/tests/run_tests.py
coverage report --include={toxinidir}/*githubcli/*

0 comments on commit 7b79ac2

Please sign in to comment.