Fix snapshot deployment condition
Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/f5d9807e Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/f5d9807e Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/f5d9807e Branch: refs/heads/master Commit: f5d9807e611c15fa4ea5683bad5b726443f3e20d Parents: 9bdc6e9 Author: Nikita Timofeev <stari...@gmail.com> Authored: Fri Nov 23 12:00:01 2018 +0300 Committer: Nikita Timofeev <stari...@gmail.com> Committed: Fri Nov 23 12:00:01 2018 +0300 ---------------------------------------------------------------------- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cayenne/blob/f5d9807e/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index dd660ad..26c1760 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,7 +55,7 @@ jobs: - stage: deploy script: mvn deploy -DskipTests --settings .travis-mvn-settings.xml jdk: oraclejdk8 - if: branch = master AND repo = apache/cayenne + if: type = push AND branch = master AND repo = apache/cayenne # prevent Travis from unneeded "mvn install" run install: true