add clean and build to script
if [[ $TRAVIS_BRANCH == 'master' ]]; then
./gradlew clean build -x :keanu-python:build uploadArchives -PnexusUser=$NEXUS_USER -PnexusPassword=$NEXUS_PASSWORD -Psigning.keyId=$SIGNING_KEY_ID -Psigning.password=$SIGNING_PASSWORD -Psigning.secretKeyRingFile=../deployment/secret-keys-keanu.gpg --info --stacktrace
else
- ./gradlew check
+ ./gradlew clean build -x :keanu-python:build --info --stacktrace
fi
if [[ ! -z $SONAR_TOKEN ]]; then
