Skip to content

Commit

Permalink
added Codacy badge and code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
prajankya committed May 18, 2020
1 parent 03738a2 commit 74b5ddb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ before_script:
# Uploading to CodeCov
# '-f' specifies file(s) to use and disables manual coverage gathering and file search which has already been done above
- bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports"


# Uploading to codacy
- CODACY_PROJECT_TOKEN=$CODACY_PROJECT_TOKEN bash <(curl -Ls https://coverage.codacy.com/get.sh) -r coverage.info --language Cpp --force-language

########################## Build package for deploy ##########################
- cd ..
- rm -rf build
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@
<a href="https://github.com/NESTLab/argos3-webviz/commits/master" target="_blank">
<img src="https://img.shields.io/github/commit-activity/m/NESTLab/argos3-webviz.svg" alt="GitHub commit activity">
</a>
<img src="https://img.shields.io/github/last-commit/NESTLab/argos3-webviz" alt="GitHub last commit" />
<img src="https://visitor-badge.glitch.me/badge?page_id=NESTlab.argos3-webviz" alt="Visitors" />
<br>
<a href="https://bestpractices.coreinfrastructure.org/projects/3966">
<img src="https://bestpractices.coreinfrastructure.org/projects/3966/badge">
</a>
<img src="https://img.shields.io/github/last-commit/NESTLab/argos3-webviz" alt="GitHub last commit" />
<img src="https://visitor-badge.glitch.me/badge?page_id=NESTlab.argos3-webviz" alt="Visitors" />
<a href="https://www.codacy.com/manual/prajankya/argos3-webviz?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=prajankya/argos3-webviz&amp;utm_campaign=Badge_Grade">
<img src="https://app.codacy.com/project/badge/Grade/2c0203a674ba48c4877fc4465edc6fd4"/>
</a>

</p>
<br/>

Expand Down

0 comments on commit 74b5ddb

Please sign in to comment.