sudo: false

language: java

cache:
  directories:
  - $HOME/.m2

branches:
  only:
    - master

install:
  - mvn -B clean install -Dmaven.test.skip.exec

script:
  - mvn -B test -Pjacoco -Pweld
  - mvn -B test -Pjacoco -Powb -pl envs/se
  - mvn -B test -Pjacoco -Pwildfly-9.x -pl envs/ee

jdk:
  - openjdk8
  - oraclejdk8

matrix:
  include:
    - jdk: oraclejdk8
      script: mvn -B test -Pjacoco -Pjetty -pl envs/servlet
      script: mvn -B test -Pjacoco -Pwildfly-10.x -pl envs/ee

notifications:
  email:
    recipients:
      - antonin.stefanutti@gmail.com

after_success:
  - mvn jacoco:report -pl impl
  - mvn -N coveralls:report

sudo: false

language: java

cache:
  directories:
  - $HOME/.m2

branches:
  only:
    - master

install:
  - mvn -B clean install -Dmaven.test.skip.exec

script:
  - mvn -B test -Pjacoco -Pweld
  - mvn -B test -Pjacoco -Powb -pl envs/se
  - mvn -B test -Pjacoco -Pjetty -pl envs/servlet
  - mvn -B test -Pjacoco -Pwildfly-9.x -pl envs/ee
  - mvn -B test -Pjacoco -Pwildfly-10.x -pl envs/ee

jdk:
  - openjdk8
  - oraclejdk8

notifications:
  email:
    recipients:
      - antonin.stefanutti@gmail.com

after_success:
  - mvn jacoco:report -pl impl
  - mvn -N coveralls:report

Remove Java 8 tests matrix
Remove Java 8 tests matrix
