tox.ini 740 Bytes
Newer Older
1 2
[tox]
envlist =
3
    py{26,27,33,34}-{cpp,python}
4 5

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