Run cargo doc before cargo test

This patch fixes the builds by running cargo doc before cargo test.
Without generated documentation, we don’t have anything to test.
This commit is contained in:
Robin Krahl 2020-07-19 17:39:47 +02:00
parent 1204e108cf
commit d4dd4d6548
No known key found for this signature in database
GPG Key ID: 8E9B0870524F69D8
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ tasks:
cargo build --release
- test: |
cd rusty-man
cargo doc
cargo test
triggers:
- action: email

View File

@ -27,6 +27,7 @@ tasks:
cargo build --release
- test: |
cd rusty-man
cargo doc
cargo test
- clippy: |
cd rusty-man