Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jamoma/JamomaPureData
Browse files Browse the repository at this point in the history
  • Loading branch information
avilleret committed Feb 11, 2016
2 parents ee8ab93 + 3854153 commit 3b0aa0d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ deploy:
file_glob: true
file: ${HOME}/build/${TRAVIS_REPO_SLUG}/JamomaPd*
on:
tags: true
repo: jamoma/JamomaPureData
17 changes: 7 additions & 10 deletions script/deploy-thor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

set -e

if [ "x${TRAVIS_BRANCH}" != "xmaster" ]; then
echo "We are not on master branch, don't upload build."
exit 0
fi

DEPLOYTARGET=jamomabuild@thor.bek.no:/Volumes/ThorData/WebServer/Jamoma/nanoc-website/output/download/JamomaPd/nightly-builds

if [ "x${DEPLOYTARGET}" = "x" ]; then
Expand Down Expand Up @@ -90,12 +85,12 @@ else
fi

cd ${TRAVIS_BUILD_DIR}
scp ${ARCHIVE_NAME}* ${DEPLOYTARGET}

if [ "x$ARCH" = "xmingw-w64" ]; then
elif []
mv ${ARCHIVE_NAME}.tar.gz JamomaPd
fi
if [ "x${TRAVIS_BRANCH}" != "xmaster" ]; then
echo "We are not on master branch, don't upload build."
else
scp ${ARCHIVE_NAME}* ${DEPLOYTARGET}
fi

# rename archive for deployment (since we can't use wilcard in .travis.yml)

Expand All @@ -108,3 +103,5 @@ elif [ "x$ARCH" = "xrpi" ]; then
elif [ "x$TRAVIS_OS_NAME" = "xosx" ]; then
mv ${ARCHIVE_NAME}.tar.gz JamomaPd-OSX.tar.gz
fi

ls

0 comments on commit 3b0aa0d

Please sign in to comment.