forked from clap-rs/clap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure-pipelines.yml
38 lines (38 loc) · 1.1 KB
/
.azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: $(Build.BuildId)
trigger:
# This is where pull requests from "bors r+" are built.
- staging
# This is where pull requests from "bors try" are built.
- trying
# Always build master
- master
pr:
# Enable building pull requests.
- master
stages:
- stage: Testing
jobs:
- job:
variables:
rust: 1.46.0
strategy:
matrix:
MinGW 32-bit:
image: vs2017-win2016
target: i686-pc-windows-gnu
MinGW 64-bit:
image: vs2017-win2016
target: x86_64-pc-windows-gnu
pool:
vmImage: $(image)
steps:
- checkout: self
fetchDepth: 1
path: clap
displayName: Checkout repository
- script: rustup default $(rust)-$(target)
displayName: Install rust
- script: cargo test --no-default-features --features "std cargo" -p clap:3.0.0-beta.2
displayName: Test with almost no features
- script: cargo test --features "yaml unstable"
displayName: Test with most features