summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Arthur <mumrah@gmail.com>2013-10-02 05:04:28 -0700
committerDavid Arthur <mumrah@gmail.com>2013-10-02 05:04:28 -0700
commitb10b73aa11f4529d3eb6bfc28fdc50c28062fb41 (patch)
tree636594e64af301ec534e194f60fa8e79f857f304
parentc1a6b8ebdb05e01e39f73d831c73cd5d624764c9 (diff)
parent791e07f89cec449a35154e51bfd5316b580a34bf (diff)
downloadkafka-python-b10b73aa11f4529d3eb6bfc28fdc50c28062fb41.tar.gz
Merge pull request #53 from jimjh/testing
Enable continuous integration with travis-ci.
-rw-r--r--.travis.yml18
-rw-r--r--README.md4
2 files changed, 21 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..1235231
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,18 @@
+language: python
+
+python:
+ - 2.6
+ - 2.7
+
+before_install:
+ - cd kafka-src
+ - ./sbt update
+ - ./sbt package
+ - cd -
+
+install:
+ pip install .
+
+script:
+ - python -m test.test_unit
+ - python -m test.test_integration
diff --git a/README.md b/README.md
index a3bb8f6..01a241c 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# Kafka Python client
+![travis](https://travis-ci.org/mumrah/kafka-python.png)
+
This module provides low-level protocol support for Apache Kafka as well as
high-level consumer and producer classes. Request batching is supported by the
protocol as well as broker-aware request routing. Gzip and Snappy compression
@@ -15,7 +17,7 @@ Copyright 2013, David Arthur under Apache License, v2.0. See `LICENSE`
# Status
-I'm following the version numbers of Kafka, plus one number to indicate the
+I'm following the version numbers of Kafka, plus one number to indicate the
version of this project. The current version is 0.8.1-1. This version is under
development, APIs are subject to change.