(experiment) add logging and focus on mac only

This commit is contained in:
Peter Squicciarini 2020-09-15 09:36:38 -07:00
parent 1435710c16
commit 6142ac4170
No known key found for this signature in database
GPG key ID: 08B897BCAB6763CB
5 changed files with 28 additions and 17 deletions

View file

@ -1,17 +1,17 @@
matrix:
include:
- os: linux
sudo: required
env: BUILDARCH=x64
dist: trusty
- os: linux
sudo: required
env: BUILDARCH=arm64
dist: trusty
- os: linux
sudo: required
env: BUILDARCH=arm
dist: trusty
# - os: linux
# sudo: required
# env: BUILDARCH=x64
# dist: trusty
# - os: linux
# sudo: required
# env: BUILDARCH=arm64
# dist: trusty
# - os: linux
# sudo: required
# env: BUILDARCH=arm
# dist: trusty
- os: osx
addons:
homebrew:
@ -58,5 +58,5 @@ deploy:
all_branches: true
condition: $SHOULD_BUILD = yes
after_deploy:
- ./update_version.sh
# after_deploy:
# - ./update_version.sh

View file

@ -14,10 +14,15 @@ 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"
# export npm_config_arch="$BUILDARCH"
# export npm_config_target_arch="$BUILDARCH"
./prepare_vscode.sh
# ./prepare_vscode.sh
yarn --version
node --version
CHILD_CONCURRENCY=1 yarn --frozen-lockfile
yarn postinstall
cd vscode || exit

View file

@ -1,4 +1,6 @@
#!/bin/bash
set -x
if [[ "$SHOULD_BUILD" == "yes" ]]; then
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cd VSCode-darwin

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -ex
if [[ "$SHOULD_BUILD" == "yes" ]]; then
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cd VSCode-darwin

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -ex
if [ -d vscode ]; then
cd vscode
git fetch --all