~barry/mailman/lp1423756

« back to all changes in this revision

Viewing changes to tox.ini

  • Committer: Barry Warsaw
  • Date: 2015-01-05 01:20:33 UTC
  • mfrom: (7264.4.66 py3)
  • Revision ID: barry@list.org-20150105012033-zdrw9c2odhpf22fz
Merge the Python 3 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
[tox]
2
 
envlist = py27
 
2
envlist = py34
3
3
recreate = True
4
4
 
5
5
[testenv]
6
 
commands = python -3 -m nose2 -v
 
6
commands = python -m nose2 -v
7
7
#sitepackages = True
8
8
usedevelop = True
9
9
 
10
10
# This environment requires you to set up PostgreSQL and create a .cfg file
11
11
# somewhere outside of the source tree.
12
12
[testenv:pg]
13
 
basepython = python2.7
 
13
basepython = python3.4
14
14
commands = python -m nose2 -v
15
15
usedevelop = True
16
16
deps = psycopg2
20
20
rc = --rcfile={[coverage]rcfile}
21
21
 
22
22
[testenv:coverage]
23
 
basepython = python2.7
 
23
basepython = python3.4
24
24
commands =
25
25
    coverage run {[coverage]rc} -m nose2 -v
26
26
    coverage combine {[coverage]rc}