language: java

sudo: false

addons:
  apt:
    packages:
      - oracle-java8-installer # Travis is running v8u31 which exposes problems with instrumentation of invokedynamic call sites.

branches:
  only:
    - master

matrix:
  include:
    - jdk: openjdk6
    - jdk: openjdk7
      env: TARGET=-Pjava7 -Pintegration
    - jdk: oraclejdk8
      env: TARGET=-Pjava8 -Pintegration
    #- jdk: oraclejdk9
    #  env: TARGET=-Pjava9 # Findbugs cannot currently process Java 9

install: ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script: ./mvnw jacoco:prepare-agent verify jacoco:report $TARGET -Dnet.bytebuddy.test.travis=true -B -V

after_success:
  - ./mvnw coveralls:report

language: java

sudo: false
dist: precise

addons:
  apt:
    packages:
      - oracle-java8-installer # Travis is running v8u31 which exposes problems with instrumentation of invokedynamic call sites.

branches:
  only:
    - master

matrix:
  include:
    - jdk: openjdk6
    - jdk: openjdk7
      env: TARGET=-Pjava7 -Pintegration
    - jdk: oraclejdk8
      env: TARGET=-Pjava8 -Pintegration
    #- jdk: oraclejdk9
    #  env: TARGET=-Pjava9 # Findbugs cannot currently process Java 9

install: ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script: ./mvnw jacoco:prepare-agent verify jacoco:report $TARGET -Dnet.bytebuddy.test.travis=true -B -V

after_success:
  - ./mvnw coveralls:report

Change distribution due to breakage.
Change distribution due to breakage.
