Update .travis.yml

This commit is contained in:
Tony Tam 2017-06-27 10:44:25 -07:00 committed by GitHub
parent 8b03baf463
commit fae3f42ba8

View File

@ -101,6 +101,7 @@ env:
- DOCKER_GENERATOR_IMAGE_NAME=swaggerapi/swagger-generator DOCKER_CODEGEN_CLI_IMAGE_NAME=swaggerapi/swagger-codegen-cli
after_success:
- if [ $SONATYPE_USERNAME ] && [ -z "$TRAVIS_TAG" ] && [ ! "$TRAVIS_PULL_REQUEST" ]; then
- if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && [ $TRAVIS_PULL_REQUEST == false ]; then
mvn clean deploy --settings .travis/settings.xml;
fi;