[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed Dec 30 07:15:52 PST 2015


 .ci/deploy-docs.sh |    9 ++++-----
 .travis.yml        |    2 +-
 2 files changed, 5 insertions(+), 6 deletions(-)

New commits:
commit d08035f8f15b7ddd89a318ea34bc386a9e33a8ea
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Dec 30 16:15:36 2015 +0100

    [docs] Fix up build, really

diff --git a/.ci/deploy-docs.sh b/.ci/deploy-docs.sh
index 0395597..73f6530 100755
--- a/.ci/deploy-docs.sh
+++ b/.ci/deploy-docs.sh
@@ -1,13 +1,12 @@
+#!/bin/bash
 
-set -o errexit -o nounset
 set -x
+set -o errexit -o nounset
 
-if test "$TRAVIS_OS_NAME" != "linux" -o "$CC" != "gcc" -o "$TRAVIS_SECURE_ENV_VARS" != "true"; then exit; fi
-
-BRANCH="$(TRAVIS_BRANCH)"
+BRANCH="$TRAVIS_BRANCH"
 if test "x$BRANCH" != xmaster; then exit; fi
 
-TAG="$(git describe --exact-match --match "[0-9]*" HEAD 2>/dev/null)"
+TAG="$(git describe --exact-match --match "[0-9]*" HEAD 2>/dev/null || true)"
 
 DOCSDIR=build-docs
 REVISION=$(git rev-parse --short HEAD)
diff --git a/.travis.yml b/.travis.yml
index 7c155a7..886c210 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,7 +30,7 @@ script:
   - make check
   - if [ "$TRAVIS_OS_NAME" == "linux" -a "$CC" == "gcc" ]; then rm -f src/.libs/NONE.gcov; touch src/NONE; coveralls -e docs; fi
 after_success:
-  - bash .ci/deploy-docs.sh
+  - if [ "$TRAVIS_OS_NAME" == "linux" -a "$CC" == "gcc" -a "$TRAVIS_SECURE_ENV_VARS" == "true" ]; then bash .ci/deploy-docs.sh; fi
 notifications:
   irc: "irc.freenode.org#harfbuzz"
   email: harfbuzz at lists.freedesktop.org


More information about the HarfBuzz mailing list