Skip to content

Commit

Permalink
adding edge builds (#1875)
Browse files Browse the repository at this point in the history
  • Loading branch information
madanagopalt authored and mfiess committed Jun 5, 2019
1 parent ada7368 commit 313e59b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/after_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ then
checkError $? "unable to move artifacts folder to release directory" "artifacts directory created" "Retry"
tar -cvzf release.tgz release/*
checkError $? "unable to compress release folder" "release folder present?" "Retry"
if [ "$TRAVIS_REPO_SLUG" = "pxscene/pxCore" ] && ( [ "$TRAVIS_BRANCH" = "master" ] || [ "$TRAVIS_BRANCH" = "$TRAVIS_TAG" ] );
if [ "$TRAVIS_REPO_SLUG" = "pxscene/pxCore" ] && ( [ "$TRAVIS_BRANCH" = "master" ] || [ "$TRAVIS_BRANCH" = "_webgl" ] || [ "$TRAVIS_BRANCH" = "$TRAVIS_TAG" ] );
then
./ci/release_osx.sh 96.116.56.119 release.tgz
checkError $? "unable to send artifacts to 96.116.56.119" "96.116.56.119 down?" "Retry"
Expand Down
5 changes: 5 additions & 0 deletions ci/release_osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ if [ "$TRAVIS_EVENT_TYPE" != "cron" ]
then
export DEPLOY_DESTINATION=${DEPLOY_DESTINATION:-/var/www/html/releases}
else
if [ "$TRAVIS_BRANCH" = "master" ]
then
export DEPLOY_DESTINATION=${DEPLOY_DESTINATION:-/var/www/html/edge/osx}
else
export DEPLOY_DESTINATION=${DEPLOY_DESTINATION:-/var/www/html/edge_webgl/osx}
fi
fi
export DEPLOY_USER="${DEPLOY_USER:-ubuntu}"
REMOTE_HOST="$1"
Expand Down

0 comments on commit 313e59b

Please sign in to comment.