(experiment) disable keep alive

This commit is contained in:
Peter Squicciarini 2020-09-18 11:51:36 -07:00
parent c92c61a50b
commit 266448613e
No known key found for this signature in database
GPG key ID: 08B897BCAB6763CB
2 changed files with 12 additions and 8 deletions

View file

@ -16,17 +16,19 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
echo "LATEST_MS_COMMIT: ${LATEST_MS_COMMIT}"
echo "BUILD_SOURCEVERSION: ${BUILD_SOURCEVERSION}"
export npm_config_arch="$BUILDARCH"
export npm_config_target_arch="$BUILDARCH"
if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then
export npm_config_arch="$BUILDARCH"
export npm_config_target_arch="$BUILDARCH"
fi
./prepare_vscode.sh
. prepare_vscode.sh
cd vscode || exit
# these tasks are very slow, so using a keep alive to keep travis alive
keep_alive &
# keep_alive &
KA_PID=$!
# KA_PID=$!
yarn monaco-compile-check
yarn valid-layers-check
@ -55,7 +57,7 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
. ../create_appimage.sh
fi
kill $KA_PID
# kill $KA_PID
cd ..
fi

View file

@ -2,8 +2,10 @@
set -e
export npm_config_arch="$BUILDARCH"
export npm_config_target_arch="$BUILDARCH"
if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then
export npm_config_arch="$BUILDARCH"
export npm_config_target_arch="$BUILDARCH"
fi
# cp -rp src/* vscode/
cd vscode || exit