From 75942d2d01659c2c26ce13575a4476dfb9714862 Mon Sep 17 00:00:00 2001 From: Patrick Peglar Date: Wed, 4 Dec 2019 14:03:28 +0000 Subject: [PATCH] Revert to single-line command for doctr invocation. --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f4b9343574..6b773e8cba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -171,8 +171,7 @@ script: # When we merge a change to SciTools/iris, we can push docs to github pages. # At present, only the Python 3.7 "doctest" job does this. # Results appear at https://scitools-docs.github.io/iris/<>/index.html - - > - if [[ "${ORG}" == 'SciTools' && "${TRAVIS_EVENT_TYPE}" == 'push' && "${PUSH_BUILT_DOCS}" == 'true' ]]; then + - if [[ "${ORG}" == 'SciTools' && "${TRAVIS_EVENT_TYPE}" == 'push' && "${PUSH_BUILT_DOCS}" == 'true' ]]; then cd ${INSTALL_DIR}; pip install doctr; doctr deploy --deploy-repo SciTools-docs/iris --built-docs docs/iris/build/html