From f49912a0709bf6bd2baef03bc2774062f77e9cd6 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Mon, 20 Jun 2016 14:03:50 -0700 Subject: [PATCH] docs(lib): only generate docs if on master branch or a tag commit --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 5475915c40..e50e536797 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,6 +37,7 @@ after_success: | ls target/debug && ./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_TAG" != "" || $TRAVIS_BRANCH = master ] && [ $TRAVIS_RUST_VERSION = stable ] && cargo doc --no-deps && ./.travis/docs.sh