Skip to content

Add support for tox (http://tox.testrun.org/) and Travis CI (http://travis-ci.org/) #940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add support for tox (http://tox.testrun.org/)
  • Loading branch information
msabramo committed Jun 9, 2012
commit ae1b60da2833a89fc5b25f1b3c89136280a2e8e6
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Editor temporary/working/backup files #
#########################################
# Editor temporary/working/backup files #
.#*
[#]*#
*~
Expand Down Expand Up @@ -27,6 +27,8 @@ doc/_build
dist
# Egg metadata
*.egg-info
# tox testing tool
.tox

# OS generated files #
######################
Expand Down
13 changes: 13 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 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 = py26, py27

[testenv]
commands = {envpython} tests.py
deps =
nose
numpy