-
Notifications
You must be signed in to change notification settings - Fork 904
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
Add option for automatic installation. #297
Comments
The next build will have a |
Sounds good! So I'll be able to do something like this: install:
- curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh > ./multirust.sh
- chmod +x ./multirust.sh
- ./multirust.sh --yes but using rustup instead of multirust? |
To install Rustup unattended:
If you are SSH'd into a box, put |
Fixes the following build error ``` curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh 2781info: downloading installer 2782rustup: Unable to run interactively. Run with -y to accept defaults, --help for additional options 2783Makefile:12: recipe for target 'install_rust' failed ``` Reference: rust-lang/rustup#297 Signed-off-by: Alexander Alemayhu <[email protected]>
@theronic Can you please explain what |
Thus the |
Ah, so sh.rustup.rs takes arguments as well! That explain it. |
I'd like to be able to use multirust-rs on travis, but I can't because I need to answer "(Y/n)" to a question about if the install should proceed.
I can't even pipe the "yes" command into this because it reads directly from tty instead of stdin.
The text was updated successfully, but these errors were encountered: