From d36196b662fb64d5610e027d836985bfc87ae07b Mon Sep 17 00:00:00 2001 From: Alastair Murray Date: Wed, 2 Mar 2022 18:27:52 +0000 Subject: [PATCH] Update format script and drop Travis badge for branch rename (#1393) `master` is now `main`, so update `check-format.sh` accordingly. Also completely drop the Travis badge as we now use GitHub actions. There is no replacement badge as the current action is pre-submission, not post-submission. --- README.md | 2 +- check-format.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b2d825fc..796f7c86 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# OpenCL-CTS [![Build Status](https://api.travis-ci.org/KhronosGroup/OpenCL-CTS.svg?branch=master)](https://travis-ci.org/KhronosGroup/OpenCL-CTS/branches) +# OpenCL-CTS The OpenCL Conformance Tests diff --git a/check-format.sh b/check-format.sh index 7de2bd2c..be8f9d78 100755 --- a/check-format.sh +++ b/check-format.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -# Arg used to specify non-'origin/master' comparison branch -ORIGIN_BRANCH=${1:-"origin/master"} +# Arg used to specify non-'origin/main' comparison branch +ORIGIN_BRANCH=${1:-"origin/main"} CLANG_BINARY=${2:-"`which clang-format-9`"} # Run git-clang-format to check for violations