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 21, 2016
1 parent 5620fbf commit f49912a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f49912a

Please sign in to comment.