diff --git a/.travis.yml b/.travis.yml index 63d714a2..f108ee5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ deploy: condition: $TRAVIS_BRANCH =~ ^0.8.x$ # This provider handles tags of version 0.8 - provider: script - script: mvn --settings ~/settings.xml org.codehaus.mojo:versions-maven-plugin:2.1:set -DnewVersion=$TRAVIS_TAG; mvn clean deploy --settings ~/settings.xml -DskipTests=true -Psonatype -B -U + script: mvn --settings ~/settings.xml org.codehaus.mojo:versions-maven-plugin:2.1:set -DnewVersion=$TRAVIS_TAG; mvn clean deploy --settings ~/settings.xml -DskipTests=true -Psonatype -B -U && mvn clean deploy --settings ~/settings.xml -DskipTests=true -B -U skip_cleanup: true on: repo: raml-org/raml-java-parser