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

Improve build times for Travis by removing sudo commands from .travis.yml #167

Closed
davidrpugh opened this issue Aug 10, 2015 · 5 comments
Closed

Comments

@davidrpugh
Copy link
Contributor

@jstac @mmcky

Travis CI has new container based infrastructure that should substantially speed up build times for CI. To use it, at least for the moment, we can't use sudo commands in the .travis.yml file.

Should we consider re-working the .travis.yml file to remove the sudo commands?

@mmcky
Copy link
Contributor

mmcky commented Aug 11, 2015

@cc7768 Is this straight forward? I see we have two sudo commands

  - sudo rm -rf /dev/shm
  - sudo ln -s /run/shm /dev/shm

during install setup.

@davidrpugh
Copy link
Contributor Author

Might be...I am not exactly sure what those lines are doing. I know what the unix commands are doing, but I don't understand why they need to be there.

@cc7768
Copy link
Member

cc7768 commented Aug 11, 2015

I picked up most of that file from this gist. He said it was an issue with multi-processing on Travis. It could have been fixed by now (though I don't know) -- Feel free to experiment and remove those lines.

@davidrpugh
Copy link
Contributor Author

In that case we might as well delete and see what happens...

@mmcky
Copy link
Contributor

mmcky commented Feb 25, 2016

This has been fixed and Travis now compiles using containers.

@mmcky mmcky closed this as completed Feb 25, 2016
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

No branches or pull requests

3 participants