1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2025-01-31 09:38:27 +00:00

Update travis to automatically build docker image

This commit is contained in:
Ducatel David 2017-04-25 14:52:01 +02:00 committed by GitHub
parent 4cf9465d04
commit dcc1b86298

View File

@ -1 +1,16 @@
language: java 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