2020-04-26 08:33:20 -04:00
|
|
|
language: java
|
|
|
|
jdk:
|
|
|
|
- openjdk11
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
|
|
|
- docker pull openjdk:11-jre-slim-sid
|
|
|
|
|
|
|
|
script:
|
2020-04-27 06:33:39 -04:00
|
|
|
- ./mvnw clean org.jacoco:jacoco-maven-plugin:prepare-agent install
|
2020-04-29 17:34:30 -04:00
|
|
|
- ./mvnw heroku:deploy jib:build -P deploy-heroku,deploy-docker
|
2020-04-27 06:33:39 -04:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|