Add doc generation to CI

pull/4/head
Diego Barrios Romero 2018-11-16 18:23:56 +01:00
parent c10bf7de9d
commit e8516dd9bb
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ main() {
if [ -z $DISABLE_EXAMPLES ] && [[ $TARGET =~ .*linux.* ]]; then
cargo build --target $TARGET $FEATURES --examples
fi
cargo doc --target $TARGET $FEATURES
if [ -z $DISABLE_TESTS ] && [ $TRAVIS_RUST_VERSION = nightly ] && [[ $TARGET =~ .*linux.* ]]; then
cargo test --target $TARGET $FEATURES