os:
  - linux
  - osx
language: java
jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk7

#script:
#  - travis_retry mvn --batch-mode clean apache-rat:check
#  - travis_wait 60 mvn --batch-mode clean package findbugs:check

after_success:
  - mvn clean apache-rat:check cobertura:cobertura coveralls:report

os:
  - linux
  - osx
language: java
jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk7
matrix:
  include:
    - os: osx
      osx_image: xcode8

#script:
#  - travis_retry mvn --batch-mode clean apache-rat:check
#  - travis_wait 60 mvn --batch-mode clean package findbugs:check

after_success:
  - mvn clean apache-rat:check cobertura:cobertura coveralls:report

Use xcode8 for osx test
Use xcode8 for osx test
