mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
fe65065545
@ -11,8 +11,9 @@ set -x
|
|||||||
# install the other dependencies
|
# install the other dependencies
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
# we may be using a dev branch of js-sdk in which case we need to build it
|
scripts/fetchdep.sh matrix-org matrix-js-sdk
|
||||||
(cd node_modules/matrix-js-sdk && npm install)
|
ln -s ../matrix-js-sdk node_modules/matrix-js-sdk
|
||||||
|
(cd matrix-js-sdk && npm install)
|
||||||
|
|
||||||
# run the mocha tests
|
# run the mocha tests
|
||||||
npm run test -- --no-colors
|
npm run test -- --no-colors
|
||||||
|
@ -5,8 +5,16 @@ set -e
|
|||||||
org="$1"
|
org="$1"
|
||||||
repo="$2"
|
repo="$2"
|
||||||
|
|
||||||
curbranch="${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
|
curbranch="$TRAVIS_PULL_REQUEST_BRANCH"
|
||||||
echo "Determined branch to be $curbranch"
|
[ -z "$curbranch" ] && curbranch="$TRAVIS_BRANCH"
|
||||||
|
[ -z "$curbranch" ] && curbranch="$GIT_BRANCH" # jenkins
|
||||||
|
|
||||||
git clone https://github.com/$org/$repo.git $repo --branch "$curbranch" || git clone https://github.com/$org/$repo.git $repo --branch develop
|
if [ -n "$curbranch" ]
|
||||||
|
then
|
||||||
|
echo "Determined branch to be $curbranch"
|
||||||
|
|
||||||
|
git clone https://github.com/$org/$repo.git $repo --branch "$curbranch" && exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Checking out develop branch"
|
||||||
|
git clone https://github.com/$org/$repo.git $repo --branch develop
|
||||||
|
Loading…
Reference in New Issue
Block a user