Skip to content

Commit

Permalink
Enable codecov coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
equalsraf committed Sep 22, 2020
1 parent ca26600 commit 8388fe4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .circleci/config.yml
Expand Up @@ -17,6 +17,7 @@ jobs:
command: |
sudo apt-get install -y cmake libqt5svg5 libqt5svg5-dev neovim python3-dev python3-jinja2 python3-msgpack python3-pip qt5-default
pip install --user cpp-coveralls PyYAML
sudo apt-get install -y lcov
- run:
name: build
command: |
Expand All @@ -36,4 +37,10 @@ jobs:
# trick cpp-coveralls into doing the right thing
# https://github.com/eddyxu/cpp-coveralls/issues/143
command: TRAVIS_JOB_ID="#${CIRCLE_BUILD_NUM}" ~/.local/bin/cpp-coveralls -y contrib/coveralls-circle.yml -E '.*/build/.*' -E '.*/third-party/.*' -E '.*/test/.*' -E '.*/bindings/.*'
- run:
name: Generate coverage report with lcov
command: lcov --directory . --capture --output-file coverage.info
- run:
name: Upload coverage report to codecov
command: bash <(curl -s https://codecov.io/bash) -f coverage.info

1 change: 1 addition & 0 deletions README.md
Expand Up @@ -5,6 +5,7 @@ Neovim client library and GUI, in Qt5.
[![Build status](https://ci.appveyor.com/api/projects/status/c252f54mfjcuud8x/branch/master?svg=true)](https://ci.appveyor.com/project/equalsraf/neovim-qt/branch/master)
[![Build Status](https://travis-ci.org/equalsraf/neovim-qt.svg?branch=master)](https://travis-ci.org/equalsraf/neovim-qt)
[![Coverage Status](https://coveralls.io/repos/github/equalsraf/neovim-qt/badge.svg?branch=master)](https://coveralls.io/github/equalsraf/neovim-qt?branch=master)
[![codecov Status](https://codecov.io/gh/equalsraf/neovim-qt/branch/master/graph/badge.svg)](https://codecov.io/gh/equalsraf/neovim-qt)
[![Build Status](https://dev.azure.com/equalsraf/neovim-qt/_apis/build/status/equalsraf.neovim-qt?branchName=master)](https://dev.azure.com/equalsraf/neovim-qt/_build/latest?definitionId=1&branchName=master)
[![Downloads](https://img.shields.io/github/downloads/equalsraf/neovim-qt/total.svg?maxAge=2592000)](https://github.com/equalsraf/neovim-qt/releases)

Expand Down

0 comments on commit 8388fe4

Please sign in to comment.