We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f227ce0 commit 03911d9Copy full SHA for 03911d9
.travis.yml
@@ -9,7 +9,6 @@ rust:
9
script:
10
- cargo build --verbose --all
11
- cargo test --verbose --all
12
- - cargo doc --no-deps --all
13
14
env:
15
# This is used to only capture the regular nightly test in allow_failures
@@ -62,6 +61,15 @@ matrix:
62
61
- cargo fmt --all -- --check
63
64
- REGULAR_TEST=false
+ - name: publish documentation
65
+ language: rust
66
+ rust: nightly
67
+ cache: cargo
68
+ script:
69
+ - cargo doc --no-deps --all
70
+ env:
71
+ - REGULAR_TEST=false
72
+ - PUBLISH_DOC=true
73
allow_failures:
74
- rust: nightly
75
env: REGULAR_TEST=true
@@ -76,3 +84,4 @@ deploy:
76
84
keep-history: true
77
85
on:
78
86
branch: master
87
+ condition: $PUBLISH_DOC = true
0 commit comments