summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2021-12-31 00:16:27 (GMT)
committerGitHub <noreply@github.com>2021-12-31 00:16:27 (GMT)
commit2cf7d02b99ce8cebd26d330aa8aac2ee369d4600 (patch)
tree14c068a6188d4f20fd6e6152aa859155387eba08 /Tools
parent82c2b54a35f85d87639201d1431ae6584b079e13 (diff)
downloadcpython-2cf7d02b99ce8cebd26d330aa8aac2ee369d4600.zip
cpython-2cf7d02b99ce8cebd26d330aa8aac2ee369d4600.tar.gz
cpython-2cf7d02b99ce8cebd26d330aa8aac2ee369d4600.tar.bz2
bpo-46178: Remove/rename redundant Travis CI code (#30309)
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/patchcheck.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/scripts/patchcheck.py b/Tools/scripts/patchcheck.py
index 8e59c78..4cab66c 100755
--- a/Tools/scripts/patchcheck.py
+++ b/Tools/scripts/patchcheck.py
@@ -245,7 +245,7 @@ def regenerated_pyconfig_h_in(file_paths):
else:
return "not needed"
-def travis(pull_request):
+def ci(pull_request):
if pull_request == 'false':
print('Not a pull request; skipping')
return
@@ -301,10 +301,10 @@ def main():
if __name__ == '__main__':
import argparse
parser = argparse.ArgumentParser(description=__doc__)
- parser.add_argument('--travis',
+ parser.add_argument('--ci',
help='Perform pass/fail checks')
args = parser.parse_args()
- if args.travis:
- travis(args.travis)
+ if args.ci:
+ ci(args.ci)
else:
main()