I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit a02cccaa authored by str4d's avatar str4d
Browse files

Only use SonarQube with Java 8

It fails on Java 7, and is unsupported on Java 9.
parent bcb07ff3
No related branches found
No related tags found
No related merge requests found
language: java language: java
jdk: jdk:
- oraclejdk8 - oraclejdk9
- openjdk8 - openjdk8
matrix: matrix:
include: include:
- jdk: oraclejdk9 - jdk: oraclejdk8
addons: addons:
sonarcloud: sonarcloud:
organization: "i2p" organization: "i2p"
...@@ -29,7 +29,7 @@ cache: ...@@ -29,7 +29,7 @@ cache:
script: script:
- | - |
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk9" ]; then if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]; then
./gradlew sonarqube codeCoverageReport ./gradlew sonarqube codeCoverageReport
else else
./gradlew check codeCoverageReport ./gradlew check codeCoverageReport
......
plugins { // SonarQube is currently only supported on Java 8
id "org.sonarqube" version "2.6.1" // https://docs.sonarqube.org/display/SONAR/Requirements#Requirements-SupportedPlatforms
if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
plugins {
id "org.sonarqube" version "2.6.1"
}
} }
// Exclude apps/ dir itself, but include its subdirs // Exclude apps/ dir itself, but include its subdirs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment