Skip to content

Commit 066064b

Browse files
author
Sadv1r
committed
Sonarcloud added to README
1 parent e32a863 commit 066064b

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.travis.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
language: java
22
sudo: false
3+
install: true
4+
5+
addons:
6+
sonarcloud:
7+
organization: "sadv1r-github"
8+
token:
9+
secure: ${SONAR_TOKEN}
310

411
jdk:
512
- oraclejdk8
613

7-
install: true
8-
script: mvn clean install
14+
script: mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar
915

1016
cache:
1117
directories:
12-
- $HOME/.m2
18+
- $HOME/.m2
19+
- $HOME/.sonar/cache

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ JUnit Ordered Runner
33
This little project is designed to give the ability to specify the order of methods execution within a test class.
44

55
[![Build Status](https://travis-ci.org/sadv1r/junit-ordered-runner.svg?branch=master)](https://travis-ci.org/sadv1r/junit-ordered-runner)
6+
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=ru.sadv1r.junit:junit-ordered-runner&metric=alert_status)](https://sonarcloud.io/dashboard/index/ru.sadv1r.junit:junit-ordered-runner)
7+
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=ru.sadv1r.junit:junit-ordered-runner&metric=coverage)](https://sonarcloud.io/component_measures?id=ru.sadv1r.junit:junit-ordered-runner&metric=coverage)
68

79
Installation
810
==========================
911
```xml
1012
<dependency>
11-
<groupId>ru.sadv1r</groupId>
13+
<groupId>ru.sadv1r.junit</groupId>
1214
<artifactId>junit-ordered-runner</artifactId>
1315
<version>${dep.junit-ordered-runner.version}</version>
1416
<scope>test</scope>

0 commit comments

Comments
 (0)