mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-11-16 01:07:10 +00:00
17 lines
311 B
YAML
17 lines
311 B
YAML
language: java
|
|
|
|
sudo: required
|
|
|
|
services:
|
|
- docker
|
|
|
|
script:
|
|
- mvn package
|
|
|
|
after_success:
|
|
- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
|
|
- if [ "$TRAVIS_BRANCH" == "master" ]; then
|
|
docker build -t plantuml/plantuml-server:latest . ;
|
|
docker push plantuml/plantuml-server:latest;
|
|
fi
|