e4c0de9455
This change: * uses to setuptools Cython automatic extension build system. * Add tox.ini to run tests and build docs into virtualenv * Add .travis.yaml and Dockerfile to run tests in CI * Change requirements to ensure: - Cython and setuptools are installed before we build the Cython extension - tests dependencies are not installed by default - doc dependencies are explicit * Add missing lz4 library * Allow to build the module with any librocksdb headers (no-rtti) Closes #15
19 lines
288 B
INI
19 lines
288 B
INI
[tox]
|
|
envlist = py27,py35,py36
|
|
minversion = 2.0
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
skip_install = True
|
|
deps =
|
|
-e
|
|
.[test]
|
|
commands = pytest {posargs:rocksdb/tests}
|
|
|
|
[testenv:docs]
|
|
deps = .[doc]
|
|
commands = python setup.py build_sphinx -W
|
|
|
|
[pytest]
|
|
addopts = --verbose
|
|
norecursedirs = .tox
|