1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

travis: test rust version before rustup

This commit is contained in:
Ryan Dahl 2018-11-30 16:37:39 -05:00
parent c5d8cf8eb6
commit daa84646e1

View file

@ -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