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
18 lines
345 B
YAML
18 lines
345 B
YAML
sudo: required
|
|
dist: trusty
|
|
language: generic
|
|
services:
|
|
- docker
|
|
|
|
cache:
|
|
directories:
|
|
- ~/.cache/pip
|
|
|
|
install:
|
|
docker build . -t ci-image;
|
|
script:
|
|
docker run -v ~/.cache/pip:/home/tester/.cache/pip -v $(pwd):/home/tester/src ci-image:latest tox -e ${TOXENV} ;
|
|
env:
|
|
- TOXENV=py27
|
|
- TOXENV=py36
|
|
- TOXENV=docs
|