From 57b2ddf335dbecdd4bbced0b5c43ddebecb5eed1 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 11 May 2018 10:45:04 +0200 Subject: [PATCH] Try to fix Travis build --- .travis.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.sh b/.travis.sh index d736add5d..243ff6ac2 100755 --- a/.travis.sh +++ b/.travis.sh @@ -53,7 +53,7 @@ if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then # Install GitHub pages import helper and Material, so we can use it as a # base template and add overrides - pip install ghp-import --user + pip install --user ghp-import python setup.py install # Build documentation with overrides and publish to GitHub pages @@ -61,6 +61,9 @@ if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then ghp-import --no-jekyll --force --push site fi +# Remove overrides directory so it won't get included in the image +rm -rf overrides + # Terminate if we're not on a release branch echo "$TRAVIS_BRANCH" | grep -qvE "^[0-9.]+$" && exit 0; :;