diff --git a/infra/config/PRESUBMIT.py b/infra/config/PRESUBMIT.py new file mode 100644 index 000000000..89eaa5192 --- /dev/null +++ b/infra/config/PRESUBMIT.py @@ -0,0 +1,15 @@ +# Copyright 2018 The LibYuv Project Authors. All rights reserved. +# +# Use of this source code is governed by a BSD-style license +# that can be found in the LICENSE file in the root of the source +# tree. An additional intellectual property rights grant can be found +# in the file PATENTS. All contributing project authors may +# be found in the AUTHORS file in the root of the source tree. + + +def CheckChangeOnUpload(input_api, output_api): + return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api) + + +def CheckChangeOnCommit(input_api, output_api): + return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api) diff --git a/infra/config/cq.cfg b/infra/config/cq.cfg index e5976c3b2..53bdaf7e8 100644 --- a/infra/config/cq.cfg +++ b/infra/config/cq.cfg @@ -23,8 +23,6 @@ verifiers { builders { name: "win_clang_rel" } builders { name: "win_x64_clang_rel" } } - - try_job { buckets { name: "luci.libyuv.try" builders { name: "win" experiment_percentage: 100 }