-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Comments
@cc7768 Is this straight forward? I see we have two - sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm during |
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. |
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. |
In that case we might as well delete and see what happens... |
This has been fixed and Travis now compiles using containers. |
@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?The text was updated successfully, but these errors were encountered: