Skip to content

Commit

Permalink
Integrate codecov.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Girod committed Apr 7, 2020
1 parent de42d70 commit c9fb869
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,16 @@ addons:
- libssl-dev
- libffi-dev

install:
before_install:
- export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
- bash ./travis/build_relic.sh
- pip3 install msgpack
- pip3 install codecov coverage msgpack

install:
- pip3 install -v -e '.[dev]'

script:
- python3 -m pytest
- coverage run --source=petrelic -m pytest

after_success:
- codecov
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ petrelic
.. image:: https://travis-ci.org/spring-epfl/petrelic.svg?branch=master
:target: https://travis-ci.org/spring-epfl/petrelic

.. image:: https://codecov.io/gh/spring-epfl/petrelic/branch/master/graph/badge.svg
:target: https://codecov.io/gh/spring-epfl/petrelic

``petrelic`` is a Python wrapper around `RELIC`_. It provides a simple python interface to the BLS-381 pairing and RELIC's big number class. Our goals is to make it easy to prototype new cryptographic applications in Python using RELIC as the backend. In the future we aim to support a few other pairing curves as well.

``petrelic`` provides native, multiplicative and additive interfaces to `RELIC`_. You can use the one that you find most comfortable. ``petrelic`` overloads Python's binary operators to make computation with pairings easy. For example, here is how you would compute and verify a BLS signature using the multiplicative interface:
Expand Down

0 comments on commit c9fb869

Please sign in to comment.