1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-12-22 08:48:54 +00:00
plantuml-server/.travis.yml
arnaudroques cde656d772 Update .travis.yml
Fix issue about docker version
2017-04-28 13:06:21 +02:00

24 lines
587 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:jetty -f Dockerfile.jetty . ;
docker build -t plantuml/plantuml-server:tomcat -f Dockerfile.tomcat . ;
docker 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