Do not attempt to rustup if in CI. This is taken care of by the base (#621)

image.
This commit is contained in:
ddorgan
2018-08-29 15:24:24 +02:00
committed by Gav Wood
parent 28b48842a8
commit bcdb2d7ba0
+5 -2
View File
@@ -4,9 +4,12 @@ set -e
echo "*** Initialising WASM build environment"
rustup update nightly
if [ -z $CI_PROJECT_NAME ] ; then
rustup update nightly
rustup update stable
fi
rustup target add wasm32-unknown-unknown --toolchain nightly
rustup update stable
# Install wasm-gc. It's useful for stripping slimming down wasm binaries.
command -v wasm-gc || \