1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-11-16 17:25:13 +00:00
plantuml-server/.travis.yml
David Ducatel 5dd56095ba Add new docker images
Add tomcat container, jetty tag and self-builded docker file
2017-04-28 10:53:11 +02:00

24 lines
605 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 image build -t plantuml/plantuml-server:jetty -f Dockerfile.jetty . ;
docker image build -t plantuml/plantuml-server:tomcat -f Dockerfile.tomcat . ;
docker image tag plantuml/plantuml-server:jetty plantuml/plantuml-server:latest ;
docker push plantuml/plantuml-server:tomcat;
docker push plantuml/plantuml-server:jetty;
docker push plantuml/plantuml-server:latest;
fi