sudo: false
language: java
addons:
  sonarqube:
    token:
      secure: 'VZqAItvBNglLS3wU0HmL6TxuseyxWsCU4PKc2Ory+F81C2jomty3kg5WYnfKkS2ofz1L4i6esNqNct8arc2TWwFM8TsNQ4EBg4C7HCwB4pJ2wFbiWp7E0gVuEeFgBKSBJLG+2T49eh8HOrEtg3WlPzxZ+Sta/KQtKVrC1BxX0uE='
jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk6
script:
  - jdk_switcher use oraclejdk8
  - mvn install sonar:sonar
  - jdk_switcher use oraclejdk7
  - mvn install
  - jdk_switcher use openjdk6
  - mvn install
after_success:
  - mvn coveralls:report
cache:
  directories:
  - "$HOME/.m2"
  - "$HOME/.sonar/cache"
sudo: false
language: java
addons:
  sonarqube:
    token:
      secure: 'VZqAItvBNglLS3wU0HmL6TxuseyxWsCU4PKc2Ory+F81C2jomty3kg5WYnfKkS2ofz1L4i6esNqNct8arc2TWwFM8TsNQ4EBg4C7HCwB4pJ2wFbiWp7E0gVuEeFgBKSBJLG+2T49eh8HOrEtg3WlPzxZ+Sta/KQtKVrC1BxX0uE='
jdk:
  - oraclejdk8
  #- oraclejdk7
  #- openjdk6
script:
  - mvn install sonar:sonar
after_success:
  - mvn coveralls:report
cache:
  directories:
  - "$HOME/.m2"
  - "$HOME/.sonar/cache"
Build only on JDK 8
Build only on JDK 8
