diff options
author | ritchie <ritchie@gmx.at> | 2015-07-05 08:37:14 +0200 |
---|---|---|
committer | ritchie <ritchie@gmx.at> | 2015-07-05 08:37:14 +0200 |
commit | 7c1f7f9daf39f24e68beef8927e5c82f2f2fa630 (patch) | |
tree | b50ca4136382b2b8c36e7f00eeeb51892798631a /.travis.yml | |
parent | b3416458940ad54d607b6c4a9c0428de80486752 (diff) | |
download | nanohttpd-7c1f7f9daf39f24e68beef8927e5c82f2f2fa630.tar.gz |
prevent pull request from deploying a version
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index f670e1b..f84ae1d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ install: script: - mvn test ; export MAVEN_RESULT=$? - if [ "$MAVEN_RESULT" -ne 0 ]; then exit 1; fi - - mvn clean deploy --quiet --settings settings.xml ; export MAVEN_RESULT=$? + - if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; mvn clean deploy --quiet --settings settings.xml ; fi after_success: - mvn clean test jacoco:report coveralls:report |