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

13 lines
283 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:
- ./mvnw clean install
- ./mvnw heroku:deploy -P deploy-heroku,deploy-docker