Skip to content

Fix Travis-CI macOS run - #5065

Merged
Travis Plunk (TravisEz13) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:macos-travis
Oct 9, 2017
Merged

Travis Plunk (TravisEz13) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:macos-travis

Conversation

@SteveL-MSFT

@SteveL-MSFT Steve Lee (SteveL-MSFT) commented Oct 9, 2017 •

Copy link
Copy Markdown
Member

Fixed some formatting and output issues. Main fix to get the build working is moving brew update earlier (thanks Travis Plunk (@TravisEz13)). Removed sudo check as it fails on Travis-CI

Fix #5062

@SteveL-MSFT
Steve Lee (SteveL-MSFT) force-pushed the macos-travis branch 2 times, most recently from 596eddf to 84ca934 Compare October 9, 2017 16:59
@SteveL-MSFT Steve Lee (SteveL-MSFT) changed the title [Do not merge] get more output from brew update to see what problem is [Do not merge] Fix Travis-CI macOS run Oct 9, 2017
@SteveL-MSFT
Steve Lee (SteveL-MSFT) force-pushed the macos-travis branch 7 times, most recently from 4fb6091 to 8b86f5b Compare October 9, 2017 18:29
@SteveL-MSFT Steve Lee (SteveL-MSFT) changed the title [Do not merge] Fix Travis-CI macOS run Fix Travis-CI macOS run Oct 9, 2017
Commented out check for sudo as it was failing on Travis-CI
Updated version of Ruby to 2.3.3
Reorder install so Ruby gets installed before installing PS as Homebrew relies on Ruby 2.3
Remove sudo check which breaks Travis-CI
Comment thread tools/installpsh-osx.sh
exit 5
fi
fi
#if [[ "$SUDO" -eq "sudo" ]]; then

@TravisEz13 Travis Plunk (TravisEz13) Oct 9, 2017 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should remove this commented code if it's not needed. Perhaps we can wait until someone complains before making further changes.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not clear to me if this is needed for local execution of this script or if anyone actually uses these scripts locally outside of CI

@TravisEz13
Travis Plunk (TravisEz13) merged commit 9d5823b into PowerShell:master Oct 9, 2017
@SteveL-MSFT
Steve Lee (SteveL-MSFT) deleted the macos-travis branch October 9, 2017 20:37
Michal Čihař (nijel) added a commit to phpmyadmin/phpmyadmin that referenced this pull request Oct 10, 2017
Based on PowerShell/PowerShell#5065

Signed-off-by: Michal Čihař <michal@cihar.com>
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Commented out check for sudo as it was failing on Travis-CI
Updated version of Ruby to 2.3.3
Reorder install so Ruby gets installed before installing PS as Homebrew relies on Ruby 2.3
Remove sudo check which breaks Travis-CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Travis CI macOS Builds are failing

2 participants