Merge pull request #937 from nushell/jonathandturner-patch-1

Move azure pipeline to stable
This commit is contained in:
Jonathan Turner 2019-11-07 09:32:54 -08:00 committed by GitHub
commit d6f46236e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,13 +3,13 @@ trigger:
strategy: strategy:
matrix: matrix:
linux-nightly: linux-stable:
image: ubuntu-16.04 image: ubuntu-16.04
style: 'unflagged' style: 'unflagged'
macos-nightly: macos-stable:
image: macos-10.14 image: macos-10.14
style: 'unflagged' style: 'unflagged'
windows-nightly: windows-stable:
image: vs2017-win2016 image: vs2017-win2016
style: 'unflagged' style: 'unflagged'
linux-nightly-canary: linux-nightly-canary:
@ -35,11 +35,11 @@ steps:
then then
sudo apt-get -y install libxcb-composite0-dev libx11-dev sudo apt-get -y install libxcb-composite0-dev libx11-dev
fi fi
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain `cat rust-toolchain` curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "stable"
export PATH=$HOME/.cargo/bin:$PATH export PATH=$HOME/.cargo/bin:$PATH
rustc -Vv rustc -Vv
echo "##vso[task.prependpath]$HOME/.cargo/bin" echo "##vso[task.prependpath]$HOME/.cargo/bin"
rustup component add rustfmt --toolchain `cat rust-toolchain` rustup component add rustfmt --toolchain "stable"
displayName: Install Rust displayName: Install Rust
- bash: RUSTFLAGS="-D warnings" cargo test --all-features - bash: RUSTFLAGS="-D warnings" cargo test --all-features
condition: eq(variables['style'], 'unflagged') condition: eq(variables['style'], 'unflagged')