提交 f1fec6bc 编写于 作者: J Joao Moreno

disable unit tests for linux 32

上级 101ff0ab
#!/bin/bash
set -e
. ./scripts/env.sh
# set agent specific npm cache
if [ -n "$AGENT_WORKFOLDER" ]
then
export npm_config_cache="$AGENT_WORKFOLDER/npm-cache"
echo "Using npm cache: $npm_config_cache"
fi
export ARCH="$1"
export VSCODE_MIXIN_PASSWORD="$2"
export AZURE_STORAGE_ACCESS_KEY="$3"
export AZURE_STORAGE_ACCESS_KEY_2="$4"
export MOONCAKE_STORAGE_ACCESS_KEY="$5"
export AZURE_DOCUMENTDB_MASTERKEY="$6"
export LINUX_REPO_PASSWORD="$7"
VSO_PAT="$8"
echo "machine monacotools.visualstudio.com password $VSO_PAT" > ~/.netrc
npm install --arch=$ARCH --unsafe-perm
npm run gulp -- mixin
npm run gulp -- "electron-$ARCH"
node build/tfs/common/installDistro.js --arch=$ARCH
npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-min"
# ./scripts/test.sh --xvfb --build --reporter dot
./build/tfs/linux/release.sh
\ No newline at end of file
#!/bin/bash
set -e
./build/tfs/linux/build-2.sh ia32 "$@"
\ No newline at end of file
./build/tfs/linux/build.sh ia32 "$@"
\ No newline at end of file
......@@ -29,8 +29,10 @@ step "Install distro dependencies" \
step "Build minified" \
npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-min"
step "Run unit tests" \
./scripts/test.sh --xvfb --build --reporter dot
if [ -z "$SKIP_UNIT_TESTS" ]; then
step "Run unit tests" \
./scripts/test.sh --xvfb --build --reporter dot
fi
step "Publish release" \
./build/tfs/linux/release.sh
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册