Browse Source

Merge branch 'coverage-badge'

https://github.com/fphammerle/freesurfer-volume-reader/pull/13
Fabian Peter Hammerle 5 years ago
parent
commit
3c7fbbe980
2 changed files with 6 additions and 0 deletions
  1. 4 0
      .travis.yml
  2. 2 0
      README.md

+ 4 - 0
.travis.yml

@@ -41,3 +41,7 @@ install:
 script:
 - pipenv run pylint freesurfer_volume_reader tests/*
 - pipenv run pytest --cov=freesurfer_volume_reader --cov-report=term-missing --cov-fail-under=100
+
+after_success:
+- pip install coveralls
+- coveralls

+ 2 - 0
README.md

@@ -1,6 +1,8 @@
 # freesurfer-volume-reader
 
 [![Build Status](https://travis-ci.org/fphammerle/freesurfer-volume-reader.svg?branch=master)](https://travis-ci.org/fphammerle/freesurfer-volume-reader)
+[![Coverage Status](https://coveralls.io/repos/github/fphammerle/freesurfer-volume-reader/badge.svg?branch=master)](https://coveralls.io/github/fphammerle/freesurfer-volume-reader?branch=master)
+[![Python Versions](https://img.shields.io/pypi/pyversions/freesurfer-volume-reader.svg)](https://pypi.org/project/freesurfer-volume-reader/)
 
 Python script & library to
 read hippocampal subfield volumes computed by Freesurfer & ASHS