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