mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 02:25:20 +00:00
enabled docker
This commit is contained in:
parent
881d1407dc
commit
43928a7726
@ -1,5 +1,10 @@
|
||||
sudo: false
|
||||
sudo: required
|
||||
language: java
|
||||
script: mvn verify -Psamples
|
||||
jdk:
|
||||
- oraclejdk7
|
||||
script:
|
||||
- mvn verify -Psamples
|
||||
- docker build -t $DOCKER_IMAGE_NAME ./modules/swagger-generator
|
||||
- if [ ! -z "$TRAVIS_TAG" ]; then docker tag $DOCKER_IMAGE_NAME:latest $DOCKER_IMAGE_NAME:$TRAVIS_TAG; fi && docker push $DOCKER_IMAGE_NAME
|
||||
env:
|
||||
- DOCKER_IMAGE_NAME=swaggerapi/swagger-generator
|
||||
|
Loading…
Reference in New Issue
Block a user