(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: matrix:
include: include:
- os: linux # - os: linux
sudo: required # sudo: required
env: BUILDARCH=x64 # env: BUILDARCH=x64
dist: trusty # dist: trusty
- os: linux # - os: linux
sudo: required # sudo: required
env: BUILDARCH=arm64 # env: BUILDARCH=arm64
dist: trusty # dist: trusty
- os: linux # - os: linux
sudo: required # sudo: required
env: BUILDARCH=arm # env: BUILDARCH=arm
dist: trusty # dist: trusty
- os: osx - os: osx
addons: addons:
homebrew: homebrew:
@ -58,5 +58,5 @@ deploy:
all_branches: true all_branches: true
condition: $SHOULD_BUILD = yes condition: $SHOULD_BUILD = yes
after_deploy: # after_deploy:
- ./update_version.sh # - ./update_version.sh

View file

@ -14,10 +14,15 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
echo "LATEST_MS_COMMIT: ${LATEST_MS_COMMIT}" echo "LATEST_MS_COMMIT: ${LATEST_MS_COMMIT}"
echo "BUILD_SOURCEVERSION: ${BUILD_SOURCEVERSION}" echo "BUILD_SOURCEVERSION: ${BUILD_SOURCEVERSION}"
export npm_config_arch="$BUILDARCH" # export npm_config_arch="$BUILDARCH"
export npm_config_target_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 cd vscode || exit

View file

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

View file

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

View file

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