# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

language: java

jdk:
  - oraclejdk8
  - oraclejdk7

script:
  - mvn clean install

# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

language: java
dist: trusty
sudo: false

jdk:
  - oraclejdk8
  - openjdk7

script:
  - mvn clean install

Replace Oracle JDK 7 with OpenJDK 7.
Replace Oracle JDK 7 with OpenJDK 7.

Oracle JDK 7 is no longer supported on Travis CI; more details in:
https://github.com/cloudera/director-google-plugin/pull/137#issuecomment-329897557

Cloudera decided to replace Oracle JDK 7 with OpenJDK 7:
https://github.com/cloudera/director-google-plugin/pull/137#issuecomment-347349558

Also, added `dist: trusty` and `sudo: false` parameters to use the
latest available distro version and lighter-weight container-based
builds.
