Updated travis file to reference jdk per https://docs.travis-ci.com/user/languages/java/

This commit is contained in:
Micah Silverman 2017-07-25 10:26:37 -04:00
parent ac73b1caa9
commit f62c7cee00
1 changed files with 3 additions and 13 deletions

View File

@ -5,19 +5,9 @@ dist: trusty
sudo: required sudo: required
language: java language: java
jdk:
matrix: - oraclejdk7
include: - oraclejdk8
- jdk: oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
- jdk: oraclejdk7
addons:
apt:
packages:
- oracle-java7-installer
before_install: before_install:
- export BUILD_COVERAGE="$([ $TRAVIS_JDK_VERSION == 'oraclejdk8' ] && echo 'true')" - export BUILD_COVERAGE="$([ $TRAVIS_JDK_VERSION == 'oraclejdk8' ] && echo 'true')"