dist: precise

jdk:
  - oraclejdk7

env:
  - TEST=java

script:
  - 'if [[ $TEST = java ]]; then mvn test -Dsurefire.useFile=false; fi'

dist: trusty

jdk:
  - oraclejdk8

env:
  - TEST=java

script:
  - 'if [[ $TEST = java ]]; then mvn test -Dsurefire.useFile=false; fi'

Update Travis to trusty and jdk8
Update Travis to trusty and jdk8
