mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Add SonarCloud scans to Travis runs
This commit is contained in:
@@ -2,6 +2,10 @@ language: java
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
after_success:
|
||||
- ./gradlew sonarqube \
|
||||
-Dsonar.organization=github-apollo-rsps \
|
||||
-Dsonar.host.url=https://sonarcloud.io \
|
||||
-Dsonar.login="$SONARCLOUD_TOKEN"
|
||||
- ./gradlew jacocoTestReport
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
before_cache:
|
||||
|
||||
+3
-1
@@ -1,6 +1,8 @@
|
||||
plugins {
|
||||
id 'org.jetbrains.kotlin.jvm' version "1.2.60" apply(false)
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.2.60' apply(false)
|
||||
id 'org.jetbrains.intellij' version '0.3.6' apply(false)
|
||||
id 'org.jmailen.kotlinter' version '1.16.0' apply(false)
|
||||
id 'org.sonarqube' version '2.6.2'
|
||||
}
|
||||
|
||||
allprojects {
|
||||
|
||||
Reference in New Issue
Block a user