annotate tox.ini @ 5016:46662961d58d

tox.ini: Add nose and pytest deps
author Marc Abramowitz <marc@marc-abramowitz.com>
date Tue, 14 Apr 2015 15:35:11 -0700
parents 2481c0a1ed31
children 9c5e6984bd0e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5015
2481c0a1ed31 Add tox.ini
Marc Abramowitz <marc@marc-abramowitz.com>
parents:
diff changeset
1 [tox]
5016
46662961d58d tox.ini: Add nose and pytest deps
Marc Abramowitz <marc@marc-abramowitz.com>
parents: 5015
diff changeset
2 envlist = py{26,27}-{pytest,nose}
5015
2481c0a1ed31 Add tox.ini
Marc Abramowitz <marc@marc-abramowitz.com>
parents:
diff changeset
3
2481c0a1ed31 Add tox.ini
Marc Abramowitz <marc@marc-abramowitz.com>
parents:
diff changeset
4 [testenv]
5016
46662961d58d tox.ini: Add nose and pytest deps
Marc Abramowitz <marc@marc-abramowitz.com>
parents: 5015
diff changeset
5 deps =
46662961d58d tox.ini: Add nose and pytest deps
Marc Abramowitz <marc@marc-abramowitz.com>
parents: 5015
diff changeset
6 nose: nose
46662961d58d tox.ini: Add nose and pytest deps
Marc Abramowitz <marc@marc-abramowitz.com>
parents: 5015
diff changeset
7 pytest: pytest
46662961d58d tox.ini: Add nose and pytest deps
Marc Abramowitz <marc@marc-abramowitz.com>
parents: 5015
diff changeset
8 commands =
46662961d58d tox.ini: Add nose and pytest deps
Marc Abramowitz <marc@marc-abramowitz.com>
parents: 5015
diff changeset
9 nose: nosetests {posargs}
46662961d58d tox.ini: Add nose and pytest deps
Marc Abramowitz <marc@marc-abramowitz.com>
parents: 5015
diff changeset
10 pytest: py.test {posargs}