Skip to content

Commit

Permalink
docs(lib): only generate docs if on master branch or a tag commit
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Jun 20, 2016
1 parent 45eb4f9 commit c94681f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -39,6 +39,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
Expand Down

0 comments on commit c94681f

Please sign in to comment.