language: java
jdk:
 - oraclejdk7
before_install:
 - chmod +x gradlew
notifications:
  slack: openbaton:0mU0eqEY8Dcm0sWeFiGrKvFe
  email:
    - notifications@openbaton.org
cache:
  directories:
  - $HOME/.m2
script: 
 - ./gradlew build

language: java
jdk:
 - oraclejdk8
before_install:
 - chmod +x gradlew
notifications:
  slack: openbaton:0mU0eqEY8Dcm0sWeFiGrKvFe
  email:
    - notifications@openbaton.org
cache:
  directories:
  - $HOME/.m2
script: 
 - ./gradlew build

Use Java 8 for Travis builds
Imp: Use Java 8 for Travis builds
