Merge remote-tracking branch 'origin/develop' into develop

pull/21833/head
Weblate 2018-05-02 15:49:29 +00:00
commit 9f5f083f9b
2 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,7 @@ set -x
npm install npm install
scripts/fetchdep.sh matrix-org matrix-js-sdk scripts/fetchdep.sh matrix-org matrix-js-sdk
rm -r node_modules/matrix-js-sdk || true
ln -s ../matrix-js-sdk node_modules/matrix-js-sdk ln -s ../matrix-js-sdk node_modules/matrix-js-sdk
(cd matrix-js-sdk && npm install) (cd matrix-js-sdk && npm install)

View File

@ -5,6 +5,8 @@ set -e
org="$1" org="$1"
repo="$2" repo="$2"
rm -r "$repo" || true
curbranch="$TRAVIS_PULL_REQUEST_BRANCH" curbranch="$TRAVIS_PULL_REQUEST_BRANCH"
[ -z "$curbranch" ] && curbranch="$TRAVIS_BRANCH" [ -z "$curbranch" ] && curbranch="$TRAVIS_BRANCH"
[ -z "$curbranch" ] && curbranch=`"echo $GIT_BRANCH" | sed -e 's/^origin\///'` # jenkins [ -z "$curbranch" ] && curbranch=`"echo $GIT_BRANCH" | sed -e 's/^origin\///'` # jenkins