forked from I2P_Developers/i2p.i2p
Only use SonarQube with Java 8
It fails on Java 7, and is unsupported on Java 9.
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
language: java
|
||||
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
- oraclejdk9
|
||||
- openjdk8
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- jdk: oraclejdk9
|
||||
- jdk: oraclejdk8
|
||||
addons:
|
||||
sonarcloud:
|
||||
organization: "i2p"
|
||||
@ -29,7 +29,7 @@ cache:
|
||||
|
||||
script:
|
||||
- |
|
||||
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk9" ]; then
|
||||
if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]; then
|
||||
./gradlew sonarqube codeCoverageReport
|
||||
else
|
||||
./gradlew check codeCoverageReport
|
||||
|
Reference in New Issue
Block a user