File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ before_script:
14
14
(travis_wait rustup component add rustfmt-preview || true) &&
15
15
(travis_wait rustup component add clippy-preview || true)
16
16
# install mdbook for the user guide
17
- - cargo install --debug mdbook
17
+ - command -v mdbook || cargo install --debug mdbook
18
18
19
19
script :
20
20
- |
@@ -23,17 +23,15 @@ script:
23
23
cargo build &&
24
24
cargo test --all &&
25
25
cargo test --release --all --all-features &&
26
- cargo doc --no-deps --all &&
26
+ # FIXME: enable after https://github.com/rust-lang/rust/issues/65840 is fixed
27
+ # cargo doc --no-deps --all &&
27
28
(test "$TRAVIS_RUST_VERSION" != nightly || cargo test --release --benches --all) &&
28
29
(test "$TRAVIS_RUST_VERSION" == nightly || cargo clippy --all -- --deny clippy::all) &&
29
30
(test "$TRAVIS_RUST_VERSION" == nightly || cargo fmt --all -- --check)
30
31
31
32
before_deploy :
32
33
- mdbook build user-guide
33
- - mkdir public
34
- - cp -r target/doc public/doc
35
- - cp -r target/user-guide public/user-guide
36
- - echo '<head><meta http-equiv="refresh" content="0; URL=user-guide/index.html"/></head>' > public/index.html
34
+ - cp -r target/user-guide public
37
35
38
36
deploy :
39
37
- provider : pages
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Travis Build Status] ( https://api.travis-ci.org/vorner/spirit.png?branch=master )] ( https://travis-ci.org/vorner/spirit )
4
4
5
- (** [ API Docs for master ] [ docs ] / [ User Guide] [ user-guide ] ** )
5
+ (** [ User Guide] ( https://vorner.github.io/spirit/ ) ** )
6
6
7
7
A helper to make creating and configuring unix daemons easier.
8
8
@@ -26,5 +26,3 @@ submitted for inclusion in the work by you, as defined in the Apache-2.0
26
26
license, shall be dual licensed as above, without any additional terms
27
27
or conditions.
28
28
29
- [ docs ] : https://vorner.github.io/spirit/doc/spirit/index.html
30
- [ user-guide ] : https://vorner.github.io/spirit/user-guide/index.html
You can’t perform that action at this time.
0 commit comments