Added sonarcloud config.
This commit is contained in:
parent
e51dd093d9
commit
f1d712816e
4 changed files with 14 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -9,6 +9,7 @@
|
|||
.kobalt
|
||||
.nb-gradle
|
||||
.project
|
||||
.scannerwork
|
||||
.settings
|
||||
.vscode/*
|
||||
*.code-workspace
|
||||
|
|
12
.travis.yml
12
.travis.yml
|
@ -1,7 +1,15 @@
|
|||
language: java
|
||||
dist: trusty
|
||||
|
||||
addons:
|
||||
sonarcloud:
|
||||
organization: "ethauvin-github"
|
||||
|
||||
script:
|
||||
- sonar-scanner
|
||||
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
|
||||
|
||||
before_install:
|
||||
- chmod +x gradlew
|
||||
- chmod +x gradlew
|
||||
|
|
|
@ -5,6 +5,7 @@ plugins {
|
|||
id 'com.github.ben-manes.versions' version '0.21.0'
|
||||
id 'net.thauvin.erik.gradle.semver' version '0.9.9-beta'
|
||||
id 'com.github.spotbugs' version '1.7.1'
|
||||
id 'org.sonarqube' version '2.7'
|
||||
}
|
||||
|
||||
import com.github.spotbugs.SpotBugsTask
|
||||
|
|
2
sonar-project.properties
Normal file
2
sonar-project.properties
Normal file
|
@ -0,0 +1,2 @@
|
|||
sonar.projectKey=ethauvin_semver
|
||||
sonar.sourceEncoding=UTF-8
|
Loading…
Add table
Add a link
Reference in a new issue