Skip to content
Snippets Groups Projects
Commit 57b2ddf3 authored by squidfunk's avatar squidfunk
Browse files

Try to fix Travis build

parent 3807f6d7
Branches
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then ...@@ -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 # Install GitHub pages import helper and Material, so we can use it as a
# base template and add overrides # base template and add overrides
pip install ghp-import --user pip install --user ghp-import
python setup.py install python setup.py install
# Build documentation with overrides and publish to GitHub pages # Build documentation with overrides and publish to GitHub pages
...@@ -61,6 +61,9 @@ if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then ...@@ -61,6 +61,9 @@ if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then
ghp-import --no-jekyll --force --push site ghp-import --no-jekyll --force --push site
fi 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 # Terminate if we're not on a release branch
echo "$TRAVIS_BRANCH" | grep -qvE "^[0-9.]+$" && exit 0; :; echo "$TRAVIS_BRANCH" | grep -qvE "^[0-9.]+$" && exit 0; :;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment