[docs] Fix up build, really
This commit is contained in:
parent
0d45c3cf63
commit
d08035f8f1
|
@ -1,13 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
set -o errexit -o nounset
|
|
||||||
set -x
|
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
|
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
|
DOCSDIR=build-docs
|
||||||
REVISION=$(git rev-parse --short HEAD)
|
REVISION=$(git rev-parse --short HEAD)
|
||||||
|
|
|
@ -30,7 +30,7 @@ script:
|
||||||
- make check
|
- make check
|
||||||
- if [ "$TRAVIS_OS_NAME" == "linux" -a "$CC" == "gcc" ]; then rm -f src/.libs/NONE.gcov; touch src/NONE; coveralls -e docs; fi
|
- if [ "$TRAVIS_OS_NAME" == "linux" -a "$CC" == "gcc" ]; then rm -f src/.libs/NONE.gcov; touch src/NONE; coveralls -e docs; fi
|
||||||
after_success:
|
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:
|
notifications:
|
||||||
irc: "irc.freenode.org#harfbuzz"
|
irc: "irc.freenode.org#harfbuzz"
|
||||||
email: harfbuzz@lists.freedesktop.org
|
email: harfbuzz@lists.freedesktop.org
|
||||||
|
|
Loading…
Reference in New Issue