Bump Pipeline images (#1255)

* Bump Pipeline images

* Update azure-pipelines.yml

* Update azure-pipelines.yml
This commit is contained in:
Jonathan Turner 2020-01-22 10:39:31 +13:00 committed by GitHub
parent 3b57ee5dda
commit c8dd7838a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,25 +4,25 @@ trigger:
strategy: strategy:
matrix: matrix:
linux-stable: linux-stable:
image: ubuntu-16.04 image: ubuntu-18.04
style: 'unflagged' style: 'unflagged'
macos-stable: macos-stable:
image: macos-10.14 image: macos-10.14
style: 'unflagged' style: 'unflagged'
windows-stable: windows-stable:
image: vs2017-win2016 image: windows-2019
style: 'unflagged' style: 'unflagged'
linux-nightly-canary: linux-nightly-canary:
image: ubuntu-16.04 image: ubuntu-18.04
style: 'canary' style: 'canary'
macos-nightly-canary: macos-nightly-canary:
image: macos-10.14 image: macos-10.14
style: 'canary' style: 'canary'
windows-nightly-canary: windows-nightly-canary:
image: vs2017-win2016 image: windows-2019
style: 'canary' style: 'canary'
fmt: fmt:
image: ubuntu-16.04 image: ubuntu-18.04
style: 'fmt' style: 'fmt'
pool: pool:
@ -35,12 +35,14 @@ 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
if [ "$(uname)" == "Darwin" ]; then
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "stable" 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
rustup update rustup update
fi
rustc -Vv rustc -Vv
echo "##vso[task.prependpath]$HOME/.cargo/bin" echo "##vso[task.prependpath]$HOME/.cargo/bin"
rustup component add rustfmt --toolchain "stable" rustup component add rustfmt
displayName: Install Rust displayName: Install Rust
- bash: RUSTFLAGS="-D warnings" cargo test --all --features=stable - bash: RUSTFLAGS="-D warnings" cargo test --all --features=stable
condition: eq(variables['style'], 'unflagged') condition: eq(variables['style'], 'unflagged')