[2.7] bpo-30417: Disable 'cpu' resource on Travis (GH-1928) by zware · Pull Request #1964 · python/cpython
# Travis provides only 2 cores, so don't overdue the parallelism and waste memory. # Travis provides only 2 cores, so don't overdo the parallelism and waste memory. before_script: - | if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.(rst|yml)$)|(^Doc)/' if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.rst$)|(^Doc)' then echo "Only docs were updated, stopping build process." exit
script: # `-r -w` implicitly provided through `make buildbottest`. - make buildbottest TESTOPTS="-j4" - make buildbottest TESTOPTS="-j4 -uall,-cpu"
notifications: email: false