java-tutorials/spring-boot-modules/spring-boot-ci-cd/.travis.yml

16 lines
398 B
YAML
Raw Normal View History

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
- ./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)