diff --git a/.travis.yml b/.travis.yml index 52f103272..0a8bbabf2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,5 +36,16 @@ install: # travis. - pip install wheel + # Also install some tools for measuring code coverage and sending the results + # to coveralls. + - pip install coveralls coverage + script: - - python setup.py bdist_wheel test + - coverage run --branch --source=OpenSSL setup.py bdist_wheel test + - coverage report -m + +after_success: + - coveralls + +notifications: + email: false diff --git a/README b/README.rst similarity index 75% rename from README rename to README.rst index 1b2a09396..de9aa4e16 100644 --- a/README +++ b/README.rst @@ -7,3 +7,6 @@ See the file INSTALL for installation instructions. See http://github.com/pyca/pyopenssl for development. See https://mail.python.org/mailman/listinfo/pyopenssl-users for the discussion mailing list. + +.. image:: https://coveralls.io/repos/pyca/pyopenssl/badge.png + :target: https://coveralls.io/r/pyca/pyopenssl