enabled docker

This commit is contained in:
Tony Tam 2016-01-04 20:25:45 -08:00
parent 881d1407dc
commit 43928a7726

View File

@ -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