Skip to content

Commit

Permalink
Added code coverage with badges for the same and for license (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
tushartk authored Jun 24, 2020
1 parent 53bc6de commit 090a142
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ install:
- patch environment.yml ./.travis/patchfile.patch
- conda env create -q -f environment.yml
- conda activate sample-factory
- pip install coverage

script:
- python -m unittest
- coverage run -m unittest

after_success:
- bash <(curl -s https://codecov.io/bash)
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[![Build Status](https://travis-ci.org/alex-petrenko/sample-factory.svg?branch=master)](https://travis-ci.org/github/alex-petrenko/sample-factory)
[![codecov](https://codecov.io/gh/alex-petrenko/sample-factory/branch/master/graph/badge.svg)](https://codecov.io/gh/alex-petrenko/sample-factory)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/alex-petrenko/sample-factory/blob/master/LICENSE)

# Sample Factory

Expand Down

0 comments on commit 090a142

Please sign in to comment.