提交 daa84646 编写于 作者: R Ryan Dahl

travis: test rust version before rustup

上级 c5d8cf8e
......@@ -56,8 +56,9 @@ install:
# Install Rust.
# TODO(ry) Include rustc in third_party.
# https://github.com/denoland/deno/issues/386
if [ ! $(which rustc) ]; then
if [ ! $(rustc --version | grep 1.30.0) ]; then
curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.30.0
rustup default 1.30.0
fi
rustc --version
cargo --version
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册