Skip to content

Commit

Permalink
#18 - Do not try (on push) to deploy SNAPSHOT build to "Sonatype Nexu…
Browse files Browse the repository at this point in the history
…s Snapshots" unless it's upstream\master branch
  • Loading branch information
shyiko committed May 16, 2014
1 parent f563210 commit 0d98c73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: java
script: mvn -P with-sources-and-javadocs -Ddeploy=snapshot -DskipTests=true -s .travis.settings.xml
env:
script: sh -c "[[ $TRAVIS_REPO_SLUG == 'shyiko/mysql-binlog-connector-java']] && [[ $TRAVIS_BRANCH == 'master' ]] && mvn -P with-sources-and-javadocs -Ddeploy=snapshot -DskipTests=true -s .travis.settings.xml"
env:
global:
- secure: QI6w4d/W9Sjckgcdwc/K5Rb+UFa6PxDbhiilv70fEZCXg0P4GMBFGD/zbpsfTlLbA9rgKBotrSm7EXRtQM94dluW0kS9jQiJfw33l9WbfMAJL4797xq+7ekvIvPBf7xVfwGsAcCcB5DcPBTKroX2s8tJEY3CQTienkW4pT7/zh0=
- secure: b/7SnPmS2BUrzc167F5sbI8ILNBqo3ODz9ZtuOOcXQ/9uJVgaLrB3KmKAHgIsjOiZ/PPp7qGNL4jW9CD7b7LAldMyIcszdKptc/fr2yHZkM17IuQJtL5tjBNlLkqeApW37ddPp0mp5IhhqzZMZ8Zu8/2vlyNJrVrYgnIXuoLLRE=

0 comments on commit 0d98c73

Please sign in to comment.