openapi-generator/.travis.yml
2016-01-04 20:25:45 -08:00

11 lines
348 B
YAML

sudo: required
language: java
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