language: java
jdk: oraclejdk9
install: ./gradlew --version
script: ./gradlew --continue --init-script gradle/init-scripts/build-scan.init.gradle.kts --scan --stacktrace sanityCheck
if: pull_request AND head_repo != gradle/gradle

Introduce Travis build for contributor PRs
Introduce Travis build for contributor PRs

The build is triggered automatically for PRs from contributors. It
executes the `sanityCheck` task and uploads a build scan.
