diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2017-02-15 22:18:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-15 22:18:03 (GMT) |
commit | 532519770dea5d353f0b0d718c8881a15c7542df (patch) | |
tree | 7e89d65c14c2e3bbc8ec9fb62ff0b9839cb981fd | |
parent | 36da1c3589e1bc4246cccf6bd0094a110416a43a (diff) | |
download | cpython-532519770dea5d353f0b0d718c8881a15c7542df.zip cpython-532519770dea5d353f0b0d718c8881a15c7542df.tar.gz cpython-532519770dea5d353f0b0d718c8881a15c7542df.tar.bz2 |
More Travis docs build tweaks (GH-113)
- Return to always building the docs, it's a relatively cheap operation,
the check had a bug, and the docs build depends on other files.
- Add `make suspicious`
- Do all three checks as one `make check suspicious html` invocation for
earliest possible exit in case of issues.
-rw-r--r-- | .travis.yml | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml index 96cd9fd..9cb2272 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,17 +36,10 @@ matrix: env: - TESTING=docs before_script: - - | - if git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '^Doc/' - then - echo "Docs weren't updated, stopping build process." - exit - fi - cd Doc - make venv PYTHON=python3 + - cd Doc + - make venv PYTHON=python3 script: - - make html SPHINXBUILD="./venv/bin/python3 -m sphinx" SPHINXOPTS="-q" - - make check + - make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q" - os: linux language: c compiler: clang |