提交 1fb2d844 编写于 作者: J Joao Moreno

remove build from test script

上级 2fb3b186
......@@ -25,15 +25,15 @@ step "Install distro dependencies" \
step "Build minified" \
npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-min"
# step "Run unit tests" \
# [[ "$ARCH" == "x64" ]] && ./scripts/test.sh --xvfb --build --reporter dot
step "Build Debian package" \
npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-build-deb"
step "Build RPM package" \
npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-build-rpm"
#step "Run unit tests" \
#[[ "$ARCH" == "x64" ]] && ./scripts/test.sh --xvfb --build --reporter dot
(cd $BUILD_SOURCESDIRECTORY/build/tfs/common && \
step "Install build dependencies" \
npm install --unsafe-perm)
......
......@@ -26,17 +26,10 @@ test -d node_modules || ./scripts/npm.sh install
# Get electron
(test -f "$CODE" && [ $INTENDED_VERSION == $INSTALLED_VERSION ]) || ./node_modules/.bin/gulp electron
# Build
test -d out || ./node_modules/.bin/gulp compile
echo "code $CODE"
# Unit Tests
export VSCODE_DEV=1
if [[ "$1" == "--xvfb" ]]; then
cd $ROOT ; \
xvfb-run "$CODE" test/electron/index.js "$@"
elif [[ "$OSTYPE" == "darwin"* ]]; then
cd $ROOT ; ulimit -n 4096 ; \
"$CODE" \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册