Travis CI deploy snapshots only from the mapstruct/mapstruct repo + skip build of distribution when deploying

This commit is contained in:
Filip Hrisafov 2019-03-09 21:35:16 +01:00
parent 5e96dc8085
commit b9b9b60a38

View File

@ -21,9 +21,10 @@ matrix:
- jdk: openjdk-ea
deploy:
provider: script
script: "test ${TRAVIS_TEST_RESULT} -eq 0 && mvn -s etc/travis-settings.xml -DskipTests=true deploy"
script: "test ${TRAVIS_TEST_RESULT} -eq 0 && mvn -s etc/travis-settings.xml -DskipTests=true -DskipDistribution=true deploy"
skip_cleanup: true
on:
repo: mapstruct/mapstruct
branch: master
jdk: oraclejdk8