language: java
install: true
before_install:
  - chmod +x gradlew
  - sudo apt-get -y install at-spi2-core

jdk: openjdk11

git:
  depth: false
  
addons:
  sonarcloud:
    organization: "gurkenlabs-github"

services:
  - xvfb

script: 
- ./gradlew fullbuild
- if [ $TRAVIS_PULL_REQUEST = 'false' ]; then 
    sonar-scanner; 
  fi

cache:
  directories:
    - '$HOME/.m2/repository'
    - '$HOME/.sonar/cache'
    - '$HOME/.gradle/caches/'
    - '$HOME/.gradle/wrapper/'
language: java
install: true
before_install:
  - chmod +x gradlew
  - sudo apt-get -y install at-spi2-core

jdk: openjdk11

git:
  depth: false
  
addons:
  sonarcloud:
    organization: "gurkenlabs-github"

services:
  - xvfb

script: 
- ./gradlew fullbuild --warning-mode all
- if [ $TRAVIS_PULL_REQUEST = 'false' ]; then 
    sonar-scanner; 
  fi

cache:
  directories:
    - '$HOME/.m2/repository'
    - '$HOME/.sonar/cache'
    - '$HOME/.gradle/caches/'
    - '$HOME/.gradle/wrapper/'
Print Gradle warnings in the build log.
Print Gradle warnings in the build log.
