test pull request build

This commit is contained in:
rodicasutu
2020-07-06 22:14:58 +03:00
parent 943333a3a4
commit d20aa44d73

View File

@@ -2,12 +2,12 @@
echo "Branch name: ${TRAVIS_BRANCH}" echo "Branch name: ${TRAVIS_BRANCH}"
echo "Branch name: ${TRAVIS_PULL_REQUEST}" echo "Branch name: ${TRAVIS_PULL_REQUEST}"
# If this is pull request # If this is pull request
if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; #if [ "${TRAVIS_PULL_REQUEST}" != "false" ];
then #then
export MAVEN_PHASE="verify" # export MAVEN_PHASE="verify"
echo "Maven Phase: ${MAVEN_PHASE}" # echo "Maven Phase: ${MAVEN_PHASE}"
exit 0 # exit 0
fi #fi
if [ "${TRAVIS_BRANCH}" == "master" ]; if [ "${TRAVIS_BRANCH}" == "master" ];
then then