tox.ini 710 Bytes
Newer Older
1 2
[tox]
envlist =
3 4
    # cpp implementation on py34 is currently broken due to
    # changes introduced by http://bugs.python.org/issue22079.
5
    py{26,27,33,34}-{cpp,python}
6 7

[testenv]
Dan O'Reilly's avatar
Dan O'Reilly committed
8
usedevelop=true
9
setenv =
10
    cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs
11
    cpp: DYLD_LIBRARY_PATH={toxinidir}/../src/.libs
12
    cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
13
commands =
14
    python setup.py -q build_py
15 16 17 18
    python: python setup.py -q build
    cpp: python setup.py -q build --cpp_implementation
    python: python setup.py -q test -q
    cpp: python setup.py -q test -q --cpp_implementation
19
deps =
Dan O'Reilly's avatar
Dan O'Reilly committed
20
    # Keep this list of dependencies in sync with setup.py.
21
    six
22 23
    py26: ordereddict
    py26: unittest2