It looks like you do need separate java and python tasks in Travis after all
-language: java
-jdk:
- - oraclejdk8
-python:
- - 3.6
+matrix:
+ include:
+ - language: java
+ jdk: oraclejdk8
addons:
sonarcloud:
organization: "improbable-keanu"
script:
- - ./gradlew clean keanu-python:build -i
+ - ./gradlew clean build -x :keanu-python:build -i
- 'if [[ ! -z $SONAR_TOKEN ]]; then sonar-scanner; fi'
+ - language: python
+ python: 3.6
+ script:
+ - ./gradlew keanu-python:clean keanu-python:build -i
