Try to fix rustfmt-preview on nightly vagga container

This commit is contained in:
Drakulix 2018-01-09 13:12:03 +01:00
parent b125ce8005
commit e76affbc66
1 changed files with 2 additions and 2 deletions

View File

@ -44,6 +44,7 @@ containers:
- !Env HOME: /work/.vagga/nightly-home - !Env HOME: /work/.vagga/nightly-home
- !Sh curl https://sh.rustup.rs -sSf | sh -s -- -y --default-host x86_64-unknown-linux-gnu --default-toolchain nightly --no-modify-path - !Sh curl https://sh.rustup.rs -sSf | sh -s -- -y --default-host x86_64-unknown-linux-gnu --default-toolchain nightly --no-modify-path
- !Env PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/work/.vagga/nightly-home/.cargo/bin:/work/.vagga/nightly-home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/ - !Env PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/work/.vagga/nightly-home/.cargo/bin:/work/.vagga/nightly-home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/
- !Sh rustup self update
- !Sh rustup component add rustfmt-preview - !Sh rustup component add rustfmt-preview
commands: commands:
@ -60,8 +61,7 @@ commands:
update-nightly: !Command update-nightly: !Command
description: Update container description: Update container
container: nightly container: nightly
run: | run: rustup update
rustup update
cargo-stable: !Command cargo-stable: !Command
description: Run cargo description: Run cargo