diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 0000000..dc3b0fb --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1 @@ +repo_token: 71NkMDQFpFKB9QYXoK12LYuWUEmQ2wD6V diff --git a/.travis.yml b/.travis.yml index 4558e49..58a7f10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,5 +3,12 @@ python: - "3.6.5" install: - pip install -r requirements.txt + - pip install coveralls==1.3.0 + - pip install pyyaml==3.12 + - pip install coverage==4.5.1 +before_script: + - coverage erase script: - - ./runtests + - coverage run --source=eav runtests +after_success: + - coveralls diff --git a/README.md b/README.md index 5c34b0a..5262e16 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.org/makimo/django-eav2.svg?branch=master)](https://travis-ci.org/makimo/django-eav2) +[![Coverage Status](https://coveralls.io/repos/github/makimo/django-eav2/badge.svg?branch=master)](https://coveralls.io/github/makimo/django-eav2?branch=master) ### Django EAV 2 - Entity-Attribute-Value storage for Django