language: java
jdk:
  - openjdk7
  - oraclejdk8
  - openjdk9
  - openjdk10
  - openjdk11

# No need for preliminary install step.
install: true
#
# Run all integration tests.
script: 
  - "mvn --show-version --errors --batch-mode clean verify"
#
cache:
    directories:
    - $HOME/.m2
branches:
    except:
        - gh-pages
notifications:
    email:
        - khmarbaise@apache.org

language: java
jdk:
  - openjdk7
  - oraclejdk8
  - openjdk9
  - openjdk10
  - openjdk11

dist: trusty

# No need for preliminary install step.
install: true
#
# Run all integration tests.
script: 
  - "mvn --show-version --errors --batch-mode clean verify"
#
cache:
    directories:
    - $HOME/.m2
branches:
    except:
        - gh-pages
notifications:
    email:
        - khmarbaise@apache.org

Fix Travis build for OpenJDK 7
Fix Travis build for OpenJDK 7

Travis updated their default Linux distribution to Xenial.
That brakes the OpenJDK 7 build. Explicitly set the distribution to Trusty
to fix the build until better solution is found.