Skip to content

Commit

Permalink
Merge pull request #21 from tpiekarski/feature/integrate-coveralls
Browse files Browse the repository at this point in the history
Merging feature/integrate-coveralls, resolves #8
  • Loading branch information
tpiekarski authored Jul 3, 2020
2 parents f0c44e2 + a1b3c7f commit 672cbe9
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
repo_token: eaH90yyvfzuF7qTOgVuvAdLbZAfFoamPb
service_name: travis-ci
parallel: false
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ cache:
install:
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- pip install coverage==4.5.4

script:
- make lint
Expand All @@ -25,6 +26,9 @@ script:
- make uninstall
- make clean

after_success:
- coveralls

#
# SonarCloud Project Setup will be using automatic scanning
#
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# derl

[![Build Status](https://travis-ci.org/tpiekarski/derl.svg?branch=master)](https://travis-ci.org/tpiekarski/derl)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=tpiekarski_derl&metric=alert_status)](https://sonarcloud.io/dashboard?id=tpiekarski_derl)
[![Build Status](https://travis-ci.org/tpiekarski/derl.svg?branch=master)](https://travis-ci.org/tpiekarski/derl) [![Coverage Status](https://coveralls.io/repos/github/tpiekarski/derl/badge.svg?branch=feature/integrate-coveralls)](https://coveralls.io/github/tpiekarski/derl?branch=feature/integrate-coveralls) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=tpiekarski_derl&metric=alert_status)](https://sonarcloud.io/dashboard?id=tpiekarski_derl)

[Overview](#overview) / [Features](#features) / [Install](#install) / [Run](#run) / [Usage](#usage) /
[Development](#development) / [Structures](#structures) / [Links](#links)
Expand Down
2 changes: 0 additions & 2 deletions pytest.ini

This file was deleted.

1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
pylint==2.5.3
pytest-cov==2.10.0
pytest==5.4.3
python-coveralls==2.9.3
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ exclude =
testing =
pytest-cov==2.10.0
pytest==5.4.3
python-coveralls==2.9.3

[options.entry_points]
console_scripts =
Expand All @@ -64,9 +65,8 @@ extras = True

[tool:pytest]
addopts =
--cov derl --cov-report term-missing
--cov derl --cov-branch --cov-report term-missing --cov-report xml:coverage.xml
--verbose
--junitxml=pytest-report.xml
norecursedirs =
dist
build
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sonar.links.scm=https://github.com/tpiekarski/derl
sonar.organization=tpiekarski-github
sonar.projectKey=tpiekarski_derl
sonar.projectName=derl
sonar.python.xunit.reportPath=pytest-report.xml
sonar.python.coverage.reportPaths=coverage.xml
sonar.sourceEncoding=UTF-8
sonar.sources=src/derl
sonar.tests=tests

0 comments on commit 672cbe9

Please sign in to comment.