language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8

notifications:
  slack:
    secure: fGRoClN1IQiZvokEiqmKOrF7EeaNQDHDHqUMaT4n7d3qW2fMe3N8ZLxlIDlzgJ2pv09VWqK7rmPgdhJR8yVG7OE4QQ5kzR59xD8ePN0j0jf6W6eOBPq3a9UUarnny21LFsShvRMZ/BaXcvTox1zMVltpMGFw2K4ijH8+ZvdkNz8=

before_script:
  - echo $JAVA_OPTS
  - export JAVA_OPTS="$JAVA_OPTS -Xmx1024m"
  - export GRADLE_OPTS=-Xmx1024m
after_success:
- bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN

# workaround for https://github.com/travis-ci/travis-ci/issues/5227
addons:
  hosts:
    - myshorthost
  hostname: myshorthost

dist: trusty
language: java
jdk:
- openjdk7
- openjdk8
- oraclejdk7
- oraclejdk8

notifications:
  slack:
    secure: fGRoClN1IQiZvokEiqmKOrF7EeaNQDHDHqUMaT4n7d3qW2fMe3N8ZLxlIDlzgJ2pv09VWqK7rmPgdhJR8yVG7OE4QQ5kzR59xD8ePN0j0jf6W6eOBPq3a9UUarnny21LFsShvRMZ/BaXcvTox1zMVltpMGFw2K4ijH8+ZvdkNz8=

before_script:
  - echo $JAVA_OPTS
  - export JAVA_OPTS="$JAVA_OPTS -Xmx1024m"
  - export GRADLE_OPTS=-Xmx1024m
after_success:
- bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN

# workaround for https://github.com/travis-ci/travis-ci/issues/5227
addons:
  hosts:
    - myshorthost
  hostname: myshorthost

Add OpenJDK 8 to test matrix
Add OpenJDK 8 to test matrix
