Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mac travis configuration to only pick specific brew packages #27334

Merged
merged 1 commit into from
May 30, 2018

Conversation

ViralBShah
Copy link
Member

No description provided.

.travis.yml Outdated
@@ -84,8 +84,7 @@ before_install:
contrib/travis_fastfail.sh || exit 1;
brew tap staticfloat/julia;
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Can we throw a > /dev/null on this line while we're at it? It spews thousands of lines of available packages.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

Copy link
Member Author

Choose a reason for hiding this comment

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

Reverted as Elliot asked.

.travis.yml Outdated
@@ -84,8 +84,7 @@ before_install:
contrib/travis_fastfail.sh || exit 1;
brew tap staticfloat/julia;
brew rm --force $(brew deps --HEAD julia);
brew install -v --only-dependencies --HEAD julia;
brew install -v staticfloat/juliadeps/libgfortran;
brew install -v gcc gmp mpfr pcre2 cmake staticfloat/julia/openblas-julia staticfloat/julia/arpack-julia staticfloat/julia/suite-sparse-julia staticfloat/juliadeps/libgfortran;
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

We don't need staticfloat/juliadeps/libgfortran since we're installing gcc. I don't know why that was on the previous line, but we should get rid of it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@@ -82,7 +82,7 @@ before_install:
export PATH="$(brew --prefix ccache)/libexec:$PATH";
BAR="pv -i 30";
contrib/travis_fastfail.sh || exit 1;
brew tap staticfloat/julia;
brew tap staticfloat/julia > /dev/null;
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

I don't think we should > /dev/null here; this means we won't catch errors like what brought us to this PR in the first place. Travis auto-collapses the brew installation section anyway, since it's not in the main testing script section.

Copy link
Member Author

Choose a reason for hiding this comment

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

So leave it?

Copy link
Sponsor Member

Choose a reason for hiding this comment

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

This is just on adding the tap, not actually installing the dependencies. Even though travis collapses it, it does so via some shoddy Javascript that turns my poor old computer into a heater.

@ViralBShah
Copy link
Member Author

I've killed everything but the mac CI.

@staticfloat
Copy link
Sponsor Member

My bad, Matt is correct, that was only on tapping, not actually installing from the tap. Sorry. He's right, it should be an improvement to pipe it away.

The Mac Julia build has made it to bootstrap, which means that this monkeying around hasn't impacted anything of importance; so once you re-introduce the > /dev/null, feel free to merge away.

@ViralBShah
Copy link
Member Author

Yeah, it's running tests so we are good. I am introducing it back, and merging this.

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.

None yet

3 participants