[Python-checkins] [python/cpython] 984eef: Only run Travis tests on master and X.Y branches (...

GitHub noreply at github.com
Tue Feb 14 20:21:33 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 984eef7d6d78e1213d6ea99897343a5059a07c59
      https://github.com/python/cpython/commit/984eef7d6d78e1213d6ea99897343a5059a07c59
  Author: Donald Stufft <donald at stufft.io>
  Date:   2017-02-14 (Tue, 14 Feb 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Only run Travis tests on master and X.Y branches (GH-102)

If someone pushes a branch to python/cpython and then creates a PR
it will cause Travis to run tests needlessly, once for the PR and
once for the push. This will limit the branches that Travis will
run tests for to the `master` branch and branches that match the regex
`^\d\.\d$`.

This will have the effect that if someone purposely makes another branch
they won't get tests to run, but in that rare case they can adjust this
themselves.




More information about the Python-checkins mailing list