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:
parent
4cf9465d04
commit
dcc1b86298
15
.travis.yml
15
.travis.yml
@ -1 +1,16 @@
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user