Merge pull request #1165 from Alfresco/feature-2.7/APPS-230_BuildAGSArtifactsOnTravis

Feature 2.7/apps 230 build ags artifacts on travis

(cherry picked from commit da4164c745)
This commit is contained in:
Rodica Sutu
2020-07-07 17:30:59 +03:00
committed by rodicasutu
parent 2cd03857a5
commit 48bdb90b8d
3 changed files with 172 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
echo "Branch name: ${TRAVIS_BRANCH}"
echo "Pull request: ${TRAVIS_PULL_REQUEST}"
if [[ "${TRAVIS_BRANCH}" == "master" || "${TRAVIS_BRANCH}" = release* ]] && [ "${TRAVIS_PULL_REQUEST}" == "false" ];
then
export MAVEN_PHASE="deploy"
else
export MAVEN_PHASE="verify"
fi