tower/ci/azure-test-stable.yml

34 lines
864 B
YAML
Raw Normal View History

2019-02-28 12:08:29 -08:00
parameters:
crates: []
jobs:
- job: ${{ parameters.name }}
displayName: ${{ parameters.displayName }}
pool:
vmImage: ${{ parameters.vmImage }}
steps:
- template: azure-install-rust.yml
parameters:
rust: nightly
2019-02-28 12:08:29 -08:00
- template: azure-is-release.yml
- ${{ each crate in parameters.crates }}:
- script: cargo test
env:
CI: 'True'
RUSTFLAGS: '-D warnings'
displayName: cargo test -p ${{ crate }}
workingDirectory: $(Build.SourcesDirectory)/${{ crate }}
2019-04-27 09:32:40 -07:00
condition: and(succeeded(), ne(variables['isRelease'], 'true'))
- template: azure-patch-crates.yml
2019-02-28 12:08:29 -08:00
- ${{ each crate in parameters.crates }}:
- script: cargo test
env:
CI: 'True'
RUSTFLAGS: '-D warnings'
2019-03-15 10:53:19 -07:00
displayName: cargo test -p ${{ crate }}
workingDirectory: $(Build.SourcesDirectory)/${{ crate }}