Skip to content

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. Also, skip tests on publishing since the build already passed.
  • Loading branch information
Stefan Negrea committed Feb 18, 2015
1 parent a5444ee commit c832e66
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 @@ -16,4 +16,4 @@ env:
- secure: OgA3pyTTPKWbUu8IXIsdkYssKLVAiTb47XyHbqH+T0H5YQ6CGz4DND0PDm89IW66un6161u9dzoPb/8sLb/0N7WpLcQrlKokz38on9sUpFfvni2+jAJaIzlRz48JGfmu+v9yNKF+TKB7GKl/1LARLSn/MGcH44gUCWPIc/Eny50=
- secure: EI50mjFH6WakACcs4bKARiMuTLUmC3veu8jEQLHNNsfL+rTM1jVn6jomMU6mHWgxvswOicP7CQrr/QE2Kh99fUCmE3JaaltB9yMf1HMTf7jq7tf7AdZGWLoIO60QaIkI012Yhnn1tuAPr3BSwokeSPktKsL05N0aiTKUcp9p3SU=
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 -DskipTests

0 comments on commit c832e66

Please sign in to comment.