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_PULL_REQUEST}"
# If this is pull request
if [ "${TRAVIS_PULL_REQUEST}" != "false" ];
then
export MAVEN_PHASE="verify"
echo "Maven Phase: ${MAVEN_PHASE}"
exit 0
fi
#if [ "${TRAVIS_PULL_REQUEST}" != "false" ];
#then
# export MAVEN_PHASE="verify"
# echo "Maven Phase: ${MAVEN_PHASE}"
# exit 0
#fi
if [ "${TRAVIS_BRANCH}" == "master" ];
then