Skip to content

Commit faa78e9

Browse files
committed
Add support for tox (http://tox.testrun.org/)
1 parent 68e7569 commit faa78e9

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Editor temporary/working/backup files #
21
#########################################
2+
# Editor temporary/working/backup files #
33
.#*
44
[#]*#
55
*~
@@ -27,6 +27,8 @@ doc/_build
2727
dist
2828
# Egg metadata
2929
*.egg-info
30+
# tox testing tool
31+
.tox
3032

3133
# OS generated files #
3234
######################

tox.ini

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Tox (http://tox.testrun.org/) is a tool for running tests
2+
# in multiple virtualenvs. This configuration file will run the
3+
# test suite on all supported python versions. To use it, "pip install tox"
4+
# and then run "tox" from this directory.
5+
6+
[tox]
7+
envlist = py26, py27, py31, py32
8+
9+
[testenv]
10+
changedir = /tmp
11+
commands =
12+
sh -c 'rm -f $HOME/.matplotlib/fontList*'
13+
{envpython} {toxinidir}/tests.py
14+
deps =
15+
nose
16+
numpy

0 commit comments

Comments
 (0)