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:
parent
c5d8cf8eb6
commit
daa84646e1
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue