image: maven:latest

build:
  stage: build
  script:
    - mvn compile

test:
  stage: test
  script:
    - mvn org.jacoco:jacoco-maven-plugin:prepare-agent verify

coverage:
  stage: deploy
  script:
    - bash <(curl -s https://codecov.io/bash)

image: maven:3-jdk-8

build:
  stage: build
  script:
    - mvn compile

test:
  stage: test
  script:
    - mvn org.jacoco:jacoco-maven-plugin:prepare-agent verify

coverage:
  stage: deploy
  script:
    - bash <(curl -s https://codecov.io/bash)

Test gitlab CI with codecov.io, using maven 3 jdk 8
Test gitlab CI with codecov.io, using maven 3 jdk 8
