Skip to content

Commit 56c66da

Browse files
committed
Add support for tox (http://tox.testrun.org/)
1 parent c39e335 commit 56c66da

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
_build
44
build
55
dist
6+
.tox

tox.ini

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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
8+
9+
[testenv]
10+
commands =
11+
pip install cython
12+
pip install numpy
13+
pip install matplotlib
14+
{envpython} setup.py install
15+
rm -rf my_project
16+
multimech-newproject my_project
17+
multimech-run my_project

0 commit comments

Comments
 (0)