Travis config: jdk must be a scalar not an array when you're using a matrix
matrix:
include:
- language: java
- jdk:
- - oraclejdk8
+ jdk: oraclejdk8
addons:
sonarcloud:
organization: "improbable-keanu"
@@ -13,3 +12,4 @@ matrix:
python: 3.6
script:
- ./gradlew keanu-python:clean keanu-python:build -i
+ - 'if [[ ! -z $SONAR_TOKEN ]]; then sonar-scanner; fi'
