From bb9bb5771465e822b545901eadf47730244068a7 Mon Sep 17 00:00:00 2001 From: Max Linke Date: Wed, 3 May 2017 21:11:15 +0200 Subject: [PATCH] fix doc deploy Closes #1316 --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ad445469e60..f638b19cbc8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -94,8 +94,7 @@ script: after_success: - if [[ $COVERALLS == 'true' ]]; then coveralls; fi - - if test ${TRAVIS_PULL_REQUEST} == "false" && \ - test ${TRAVIS_BRANCH} == ${GH_DOC_BRANCH} && \ - test "${BUILD_DOCS}" == "true"; then - bash ${TRAVIS_BUILD_DIR}/maintainer/deploy_docs.sh; + # can't use test here since this leads to travis fails even though the build passes + - if [[ ${TRAVIS_PULL_REQUEST} == "false" ]] && [[ ${BUILD_DOCS} == "true" ]] && [[ ${TRAVIS_BRANCH} == ${GH_DOC_BRANCH} ]]; then + bash ${TRAVIS_BUILD_DIR}/maintainer/deploy_docs.sh; fi