diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2017-02-26 13:07:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-26 13:07:12 (GMT) |
commit | 5c7b8f423ab1de6221351036ac4e139861a2f4a6 (patch) | |
tree | 9bcb83d59d0294599be9c90dad3a89e5eb1f283a /.travis.yml | |
parent | fae59e1aa87ee9598d032e0bd697969a5784025f (diff) | |
download | cpython-5c7b8f423ab1de6221351036ac4e139861a2f4a6.zip cpython-5c7b8f423ab1de6221351036ac4e139861a2f4a6.tar.gz cpython-5c7b8f423ab1de6221351036ac4e139861a2f4a6.tar.bz2 |
Backport recent .travis.yml changes (#308)
Backported changes from master:
* b52260d8bf392aa04c48b8c2467a4c034184de86
* 984eef7d6d78e1213d6ea99897343a5059a07c59
* 532519770dea5d353f0b0d718c8881a15c7542df
* 91b0e7d0ca7c59df28f6a6fc1e8eb86a3925b76c
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml index dc3a00d..27b63c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,11 @@ group: beta # To cache doc-building dependencies. cache: pip +branches: + only: + - master + - /^\d\.\d$/ + os: - linux # macOS builds are disabled as the machines are under-provisioned on Travis, @@ -20,6 +25,7 @@ env: - TESTING=cpython matrix: + fast_finish: true allow_failures: - env: - TESTING=coverage @@ -30,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 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 |