language: java

dist: trusty

jdk:
  - oraclejdk8
  - openjdk7

services:
  - redis-server

install: ./mvnw -U install --quiet -DskipTests=true -P bootstrap

script:
  - jdk_switcher use openjdk7
  - ./mvnw clean test -P bootstrap
  - jdk_switcher use oraclejdk8
  - ./mvnw -f spring-security-oauth2 -U clean test -P spring5
language: java

dist: trusty

jdk:
  - openjdk8
  - openjdk7

services:
  - redis-server

install: ./mvnw -U install --quiet -DskipTests=true -P bootstrap

script:
  - jdk_switcher use openjdk7
  - ./mvnw clean test -P bootstrap
  - jdk_switcher use oraclejdk8
  - ./mvnw -f spring-security-oauth2 -U clean test -P spring5
Update Travis to OpenJDK 8
Update Travis to OpenJDK 8

Fixes: gh-1762
