Skip to content

[ci] Try to fix Travis osx bot#1841

Merged
ehsannas merged 1 commit intomicrosoft:masterfrom
ehsannas:fix_travis_osx
Jan 14, 2019
Merged

[ci] Try to fix Travis osx bot#1841
ehsannas merged 1 commit intomicrosoft:masterfrom
ehsannas:fix_travis_osx

Conversation

@ehsannas
Copy link
Copy Markdown
Contributor

due to issues of Travis homebrew, let's see if we can manually get ninja

@ehsannas ehsannas self-assigned this Jan 14, 2019
@ehsannas ehsannas added the ci Continuous integration label Jan 14, 2019
@ehsannas
Copy link
Copy Markdown
Contributor Author

Green again \o/

Copy link
Copy Markdown
Contributor

@tristanlabelle tristanlabelle left a comment

Choose a reason for hiding this comment

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

This is Chinese to me, but if it works, I'm all for it!

before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ninja; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
wget -q https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-mac.zip;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What's the working directory here? No need to generate and use a temp path?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think the working directory is the directory where the repo is downloaded in the Travis VM. I don't think it's necessary to make a temp directory. I just want to put ninja on the PATH. It'll all be deleted once the bot is done building.

@AppVeyorBot
Copy link
Copy Markdown

@ehsannas ehsannas merged commit d3f9165 into microsoft:master Jan 14, 2019
@ehsannas ehsannas deleted the fix_travis_osx branch January 14, 2019 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants