We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9e9314 commit fc7a8e9Copy full SHA for fc7a8e9
.ci/travis-build-docs.sh
@@ -13,21 +13,10 @@ SOURCE_BRANCH="master"
13
TARGET_BRANCH="gh-pages"
14
DOC_BUILD_DIR="_build/html/"
15
16
-if [ "${TRAVIS_OS_NAME}" != "linux" ]; then
17
- echo "Skipping documentation build on non-linux."
18
- exit 0
19
-fi
20
-
21
pip install -r docs/requirements.txt
22
make htmldocs
23
24
-if [ "${TRAVIS_PULL_REQUEST}" != "false" \
25
- -o "${TRAVIS_OS_NAME}" != "linux" ]; then
26
- echo "Skipping documentation deploy."
27
28
29
30
-if [ "${TRAVIS_BRANCH}" != "${SOURCE_BRANCH}" -a -z "${TRAVIS_TAG}" ]; then
+if [ "${TRAVIS_PULL_REQUEST}" != "false" -o -z "${TRAVIS_TAG}" ]; then
31
echo "Skipping documentation deploy."
32
exit 0
33
fi
0 commit comments