aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/protobuf/3.6.0/python/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/protobuf/3.6.0/python/tox.ini')
-rw-r--r--third_party/protobuf/3.6.0/python/tox.ini25
1 files changed, 25 insertions, 0 deletions
diff --git a/third_party/protobuf/3.6.0/python/tox.ini b/third_party/protobuf/3.6.0/python/tox.ini
new file mode 100644
index 0000000000..38a81b4fea
--- /dev/null
+++ b/third_party/protobuf/3.6.0/python/tox.ini
@@ -0,0 +1,25 @@
+[tox]
+envlist =
+ py{27,33,34,35,36}-{cpp,python}
+
+[testenv]
+usedevelop=true
+passenv = CC
+setenv =
+ cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs
+ cpp: DYLD_LIBRARY_PATH={toxinidir}/../src/.libs
+ cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
+ python: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
+commands =
+ python setup.py -q build_py
+ python: python setup.py -q build
+ cpp: python setup.py -q build --cpp_implementation --warnings_as_errors --compile_static_extension
+ python: python setup.py -q test -q
+ cpp: python setup.py -q test -q --cpp_implementation
+ python: python setup.py -q test_conformance
+ cpp: python setup.py -q test_conformance --cpp_implementation
+deps =
+ # Keep this list of dependencies in sync with setup.py.
+ six>=1.9
+ py26: ordereddict
+ py26: unittest2