Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add one more test to ensure publishing does not happen for pull reque…
Browse files Browse the repository at this point in the history
…sts against the master branch.
  • Loading branch information
Stefan Negrea committed Feb 18, 2015
1 parent 3165a9c commit 2b2ee23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ env:
- secure: BADgz+otMMO+gUlFNduU/mgFm1dOfv2ZWAYD3nO1nEwu7Y1QVUsqimHdlqntUcinILDVeD33oT27kElERvr7KyjfDEPSDAVUg5Y/5soezg/tBu0zi3iodAP2GynOMohS/Rfm4+3ajWuEe/Y2SYjFXgldMR9qjP+/31FsVtW8Op0=

after_success:
- test ${TRAVIS_BRANCH} = master && mvn -s .travis.maven.settings.xml deploy
- test "${TRAVIS_BRANCH}" = "master" && test "${TRAVIS_PULL_REQUEST}" = "false" && mvn -s .travis.maven.settings.xml deploy

0 comments on commit 2b2ee23

Please sign in to comment.