-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Manually run brew cleanup and initialize php * Add debug loggin for visibility * Allow underscores in php folder name * Add logging to php tests * Add tracing * Only use the latest installation of php
- Loading branch information
1 parent
4efbcc4
commit 687fbff
Showing
3 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,11 @@ cd $(dirname $0)/../../.. | |
source kokoro/macos/prepare_build_macos_rc | ||
|
||
# Install Dependencies | ||
brew cleanup | ||
brew install coreutils [email protected] | ||
|
||
# Configure path | ||
PHP_FOLDER=$(find $HOMEBREW_PREFIX -type d -regex ".*php.*/7.4.[0-9]*") | ||
PHP_FOLDER=$(find $HOMEBREW_PREFIX -type d -regex ".*php.*/7.4.[0-9_.]*" | sort -n | tail -n 1) | ||
test ! -z "$PHP_FOLDER" | ||
export PATH="$PHP_FOLDER/bin:$PATH" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,11 @@ cd $(dirname $0)/../../.. | |
source kokoro/macos/prepare_build_macos_rc | ||
|
||
# Install Dependencies | ||
brew cleanup | ||
brew install coreutils [email protected] | ||
|
||
# Configure path | ||
PHP_FOLDER=$(find $HOMEBREW_PREFIX -type d -regex ".*php.*/8.0.[0-9]*") | ||
PHP_FOLDER=$(find $HOMEBREW_PREFIX -type d -regex ".*php.*/8.0.[0-9_.]*" | sort -n | tail -n 1) | ||
test ! -z "$PHP_FOLDER" | ||
export PATH="$PHP_FOLDER/bin:$PATH" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
set -ex | ||
|
||
cd $(dirname $0)/.. | ||
|
||
|