diff options
author | Jianbin Wei <jianbin-wei@users.noreply.github.com> | 2017-06-16 22:58:58 -0700 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2017-06-16 22:58:58 -0700 |
commit | b1a6d3301f0ed997e937dcc3b09a3cff27360cff (patch) | |
tree | 081d369e854c4ae81b73d52f703a69ef1cdaad97 /docs/tests.rst | |
parent | 72205c469297c9daca6f3a3b803a0c72f4055cfa (diff) | |
download | kafka-python-b1a6d3301f0ed997e937dcc3b09a3cff27360cff.tar.gz |
Add kafka 0.10.2.1 into integration testing version (#1096)
* Add kafka 0.10.2.1 into integration testing version
* Disable tests for python 2.6 and kafka 0.8.0 and 0.8.1.1
* Remove references to python 2.6 support
Diffstat (limited to 'docs/tests.rst')
-rw-r--r-- | docs/tests.rst | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/tests.rst b/docs/tests.rst index 49f4f1f..74642c9 100644 --- a/docs/tests.rst +++ b/docs/tests.rst @@ -10,8 +10,8 @@ Test environments are managed via tox. The test suite is run via pytest. Individual tests are written using unittest, pytest, and in some cases, doctest. -Linting is run via pylint, but is generally skipped on python2.6 and pypy -due to pylint compatibility / performance issues. +Linting is run via pylint, but is generally skipped on pypy due to pylint +compatibility / performance issues. For test coverage details, see https://coveralls.io/github/dpkp/kafka-python @@ -60,19 +60,20 @@ kafka server binaries: ./build_integration.sh -By default, this will install 0.8.1.1, 0.8.2.2, 0.9.0.1, and 0.10.1.1 brokers into the -servers/ directory. To install a specific version, set `KAFKA_VERSION=0.9.0.0`: +By default, this will install 0.8.2.2, 0.9.0.1, 0.10.1.1, and +0.10.2.1 brokers into the servers/ directory. To install a specific version, + e.g., set `KAFKA_VERSION=0.10.2.1`: .. code:: bash - KAFKA_VERSION=0.8.0 ./build_integration.sh + KAFKA_VERSION=0.10.2.1 ./build_integration.sh Then run the tests against supported Kafka versions, simply set the `KAFKA_VERSION` env variable to the server build you want to use for testing: .. code:: bash - KAFKA_VERSION=0.9.0.1 tox -e py27 + KAFKA_VERSION=0.10.2.1 tox -e py27 To test against the kafka source tree, set KAFKA_VERSION=trunk [optionally set SCALA_VERSION (defaults to 2.10)] |