docs(lib): only generate docs if on master branch or a tag commit
This commit is contained in:
@@ -39,6 +39,7 @@ after_success: |
|
|||||||
ls target/debug &&
|
ls target/debug &&
|
||||||
./kcov-master/tmp/usr/local/bin/kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/hyper-* &&
|
./kcov-master/tmp/usr/local/bin/kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/hyper-* &&
|
||||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
|
[ "$TRAVIS_TAG" != "" || $TRAVIS_BRANCH = master ] &&
|
||||||
[ $TRAVIS_RUST_VERSION = stable ] &&
|
[ $TRAVIS_RUST_VERSION = stable ] &&
|
||||||
cargo doc --no-deps &&
|
cargo doc --no-deps &&
|
||||||
./.travis/docs.sh
|
./.travis/docs.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user