From c759b63a0a2e09aea4b612ffae5a677bb6282718 Mon Sep 17 00:00:00 2001 From: Honza Kral Date: Tue, 24 Sep 2013 23:33:37 +0200 Subject: [PATCH] Added build status to README and coveralls support. --- .travis.yml | 3 +++ README.rst | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/.travis.yml b/.travis.yml index f4212fc4..467fed4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,9 @@ matrix: env: TEST_ES_CONNECTION=ThriftConnection install: - git submodule init + - pip install coveralls - pip install . script: - TEST_ES_SERVER=localhost python setup.py test +after_success: + - coveralls diff --git a/README.rst b/README.rst index c4d3222a..6ed1b794 100644 --- a/README.rst +++ b/README.rst @@ -58,3 +58,12 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + +Build status +------------ + +.. image:: https://secure.travis-ci.org/elasticsearch/elasticsearch-py.png + :target: http://travis-ci.org/#!/elasticsearch/elasticsearch-py + +.. image:: https://coveralls.io/repos/elasticsearch/elasticsearch-py/badge.png?branch=master + :target: https://coveralls.io/r/elasticsearch/elasticsearch-py