mirror of https://github.com/eldruin/ds323x-rs
Add doc generation to CI
parent
c10bf7de9d
commit
e8516dd9bb
|
@ -15,6 +15,7 @@ main() {
|
||||||
if [ -z $DISABLE_EXAMPLES ] && [[ $TARGET =~ .*linux.* ]]; then
|
if [ -z $DISABLE_EXAMPLES ] && [[ $TARGET =~ .*linux.* ]]; then
|
||||||
cargo build --target $TARGET $FEATURES --examples
|
cargo build --target $TARGET $FEATURES --examples
|
||||||
fi
|
fi
|
||||||
|
cargo doc --target $TARGET $FEATURES
|
||||||
|
|
||||||
if [ -z $DISABLE_TESTS ] && [ $TRAVIS_RUST_VERSION = nightly ] && [[ $TARGET =~ .*linux.* ]]; then
|
if [ -z $DISABLE_TESTS ] && [ $TRAVIS_RUST_VERSION = nightly ] && [[ $TARGET =~ .*linux.* ]]; then
|
||||||
cargo test --target $TARGET $FEATURES
|
cargo test --target $TARGET $FEATURES
|
||||||
|
|
Loading…
Reference in New Issue