Skip to content

Commit df91916

Browse files
committed
Set up CI with Azure Pipelines
[skip ci]
1 parent 87adf6d commit df91916

File tree

2 files changed

+25
-21
lines changed

2 files changed

+25
-21
lines changed

.travis.yml

-21
This file was deleted.

azure-pipelines.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
trigger:
2+
- master
3+
4+
jobs:
5+
- job: Linux
6+
pool:
7+
vmImage: ubuntu-16.04
8+
steps:
9+
- template: ci/azure-steps.yml
10+
strategy:
11+
matrix:
12+
stable:
13+
TOOLCHAIN: stable
14+
beta:
15+
TOOLCHAIN: beta
16+
nightly:
17+
TOOLCHAIN: nightly
18+
- job: docs
19+
steps:
20+
- template: ci/azure-install-rust.yml
21+
- script: cargo doc --no-deps --all-features
22+
- script: curl -LsSf https://git.io/fhJ8n | rustc - && (cd target/doc && ../../rust_out)
23+
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
24+
env:
25+
GITHUB_DEPLOY_KEY: $(GITHUB_DEPLOY_KEY)

0 commit comments

Comments
 (0)