mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-05 13:35:06 +00:00
[travis] Build docs only on tagged revisions
Lets see if it works…
This commit is contained in:
parent
e5b90c08a4
commit
b789199f10
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
TAG="$(git describe --exact-match --match "[0-9]*" HEAD 2>/dev/null)"
|
||||
|
||||
set -o errexit -o nounset
|
||||
|
||||
if [ "$TRAVIS_OS_NAME" == "linux" -a "$CC" == "gcc" -a "$TRAVIS_SECURE_ENV_VARS" == "true" -a "$TRAVIS_PULL_REQUEST" == "false" -a "$TRAVIS_BRANCH" == "master" ]
|
||||
if [ "$TRAVIS_OS_NAME" == "linux" -a "$CC" == "gcc" -a "$TRAVIS_SECURE_ENV_VARS" == "true" -a "$TAG" != ""]
|
||||
then
|
||||
DOCSDIR=build-docs
|
||||
REVISION=$(git rev-parse --short HEAD)
|
||||
|
|
Loading…
Add table
Reference in a new issue