lbry-rocksdb/tox.ini
Mehdi Abaakouk e4c0de9455 Allow to compile the extension everywhere
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
2018-02-09 09:21:56 +01:00

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