aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/tox.ini
blob: ebe754596d2c6b92f7e7a656b41f1e0b26e6daa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[tox]
envlist =
    # Py3 tests currently fail because of text handling issues,
    # So only test py26/py27 for now.
    #py{26,27,33,34}-{cpp,python}
    py{26,27}-{cpp,python}

[testenv]
setenv =
    cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs
    cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
commands =
    python setup.py -q build_py
    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
deps =
    six
    py26: ordereddict
    py26: unittest2