Skip to content

Commit

Permalink
Merge pull request #90 from hlin/master
Browse files Browse the repository at this point in the history
Show code coverage via coveralls badge
  • Loading branch information
hlin committed Aug 21, 2019
2 parents 0ac5c8f + 6e9d270 commit b389c98
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
language: generic
language: python
sudo: required
services: docker

Expand All @@ -9,7 +9,12 @@ matrix:
- env: CONTAINER_IMAGE=fedora:28 TOXENV=py36

install:
- pip install coveralls
- ./.travis/install.sh

script:
- ./.travis/run.sh

after_success:
- sed -i -e s@/build@"$(pwd)"@g .coverage
- coveralls
1 change: 1 addition & 0 deletions .travis/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ docker run \
--rm \
-e TOXENV="${TOXENV}" \
-t \
-v $(pwd):/build \
product-listings-manager \
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ product-listings-manager
.. image:: https://quay.io/repository/redhat/product-listings-manager/status
:target: https://quay.io/repository/redhat/product-listings-manager

.. image:: https://coveralls.io/repos/github/release-engineering/product-listings-manager/badge.svg?branch=master
:target: https://coveralls.io/github/release-engineering/product-listings-manager?branch=master


HTTP interface for finding product listings and interacting with data in
composedb.

Expand Down

0 comments on commit b389c98

Please sign in to comment.