From 70cb1875bb5343e31d7268f4b2d231a5fecdf989 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sat, 24 Jun 2017 16:51:23 -0700 Subject: Check the whitespace of pull requests on Travis (GH-2367) --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index d30de21e82..4be6e4c215 100644 --- a/.travis.yml +++ b/.travis.yml @@ -89,6 +89,11 @@ before_script: fi script: + # Using the built Python as patchcheck.py is built around the idea of using + # a checkout-build of CPython to know things like what base branch the changes + # should be compared against. + # Only run on Linux as the check only needs to be run once. + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./python Tools/scripts/patchcheck.py --travis $TRAVIS_PULL_REQUEST; fi # `-r -w` implicitly provided through `make buildbottest`. - make buildbottest TESTOPTS="-j4 -uall,-cpu,-tzdata" -- cgit v1.2.1