From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 0DA481F453 for ; Mon, 15 Oct 2018 10:12:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726562AbeJOR4g (ORCPT ); Mon, 15 Oct 2018 13:56:36 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:36441 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726469AbeJOR4f (ORCPT ); Mon, 15 Oct 2018 13:56:35 -0400 Received: by mail-pg1-f194.google.com with SMTP id f18-v6so8952570pgv.3 for ; Mon, 15 Oct 2018 03:12:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:in-reply-to:references:from:subject:fcc :content-transfer-encoding:mime-version:to:cc; bh=Cfz0Lv2WsYpAxd9NuLWiHnhKSxvt9wICkjhm8+GqqnU=; b=VfzFnG5RA1zp41af1qODgfLtJ/I6EMQOj0GiFuLQ4lS0tQ2Of1fk4dvZFXJFHN7okQ yyEqP/9MV3BWIvGLLGlGxfL07vYWYzvAZo8+2Zc/VJQ2wXyM5ulelaMKx/BjGjd3+pZv +KOGodkjMH367LspQ1fXJqioRUeNGkY0ub+ybOB1NVFYSbH+GMDo0Ns1mOOP1IgwxbPc SjsoAZSHtGHyFCyhdq95md8I3zXa8We+tXq3XjGxeZ4DFwuRZuQWkYZcb73L7n/N7Q/8 /P6zJJSc4kpEXXishK5YztGmpdkMMJiclkiODDMQvH+YXt9twXGBpwwcLTGaLKx8eN9V 5V7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:in-reply-to:references:from :subject:fcc:content-transfer-encoding:mime-version:to:cc; bh=Cfz0Lv2WsYpAxd9NuLWiHnhKSxvt9wICkjhm8+GqqnU=; b=GqGsHXRv66NyjrPj9Le8zj3ZobeSiKIBE6KTMRIpQ1pSUwIrIZlxA3MR+VvbEJdHH+ Hg+ASlAu7nJSyZVlBMRCrWIwUxNOPj4C+mpixOeLwELvbtcKkKZ6K5i1EYergUJG5Gl7 7iAxRDPkdh9nSL4Sp7Nbtz0FXxqsv0bBV0MybkCD5PhLGrBdAo0V1U3BU0otY3fPW0TN tiaz8RhQU4pY1F6z6XCnNnYBTDo5j2ls/t8ZegEc2Xn/v/W5rF4emCp+OMFGuxRUJ8+r M6DGeCuc02ZpsF7dbzbL5zmwsBTg86EuwCBZ/fkP4sXXPJbX/uOWVtiFfdihT19XTpMQ p27w== X-Gm-Message-State: ABuFfogWiCCzuGyPPt/Qdtzobjt8w442bqQGv1f72BbOEsyrmCxr9ngH K9PPpGH4RQazeANQ/PTny8WZcQeF X-Google-Smtp-Source: ACcGV60PgFFe0YsEe/CkETVXobQlOXEnb4v9lNJ6y+EjUq5AaZxnvrpjpLSqqJQSh4/SdBrEJXz4ew== X-Received: by 2002:a62:507:: with SMTP id 7-v6mr16961123pff.80.1539598320259; Mon, 15 Oct 2018 03:12:00 -0700 (PDT) Received: from [127.0.0.1] ([40.112.137.127]) by smtp.gmail.com with ESMTPSA id q2-v6sm14636558pfc.17.2018.10.15.03.11.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Oct 2018 03:11:59 -0700 (PDT) Date: Mon, 15 Oct 2018 03:11:59 -0700 (PDT) X-Google-Original-Date: Mon, 15 Oct 2018 10:11:43 GMT Message-Id: In-Reply-To: References: From: "Johannes Schindelin via GitGitGadget" Subject: [PATCH v2 01/13] ci: rename the library of common functions Fcc: Sent Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 To: git@vger.kernel.org Cc: Junio C Hamano , Johannes Schindelin Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org From: Johannes Schindelin The name is hard-coded to reflect that we use Travis CI for continuous testing. In the next commits, we will extend this to be able use Azure DevOps, too. So let's adjust the name to make it more generic. Signed-off-by: Johannes Schindelin --- ci/install-dependencies.sh | 2 +- ci/{lib-travisci.sh => lib.sh} | 0 ci/print-test-failures.sh | 2 +- ci/run-build-and-tests.sh | 2 +- ci/run-linux32-docker.sh | 2 +- ci/run-static-analysis.sh | 2 +- ci/run-windows-build.sh | 2 +- ci/test-documentation.sh | 2 +- 8 files changed, 7 insertions(+), 7 deletions(-) rename ci/{lib-travisci.sh => lib.sh} (100%) diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh index 75a9fd2475..961064658e 100755 --- a/ci/install-dependencies.sh +++ b/ci/install-dependencies.sh @@ -3,7 +3,7 @@ # Install dependencies required to build and test Git on Linux and macOS # -. ${0%/*}/lib-travisci.sh +. ${0%/*}/lib.sh P4WHENCE=http://filehost.perforce.com/perforce/r$LINUX_P4_VERSION LFSWHENCE=https://github.com/github/git-lfs/releases/download/v$LINUX_GIT_LFS_VERSION diff --git a/ci/lib-travisci.sh b/ci/lib.sh similarity index 100% rename from ci/lib-travisci.sh rename to ci/lib.sh diff --git a/ci/print-test-failures.sh b/ci/print-test-failures.sh index d55460a212..7aef39a2fd 100755 --- a/ci/print-test-failures.sh +++ b/ci/print-test-failures.sh @@ -3,7 +3,7 @@ # Print output of failing tests # -. ${0%/*}/lib-travisci.sh +. ${0%/*}/lib.sh # Tracing executed commands would produce too much noise in the loop below. set +x diff --git a/ci/run-build-and-tests.sh b/ci/run-build-and-tests.sh index 2a5bff4a1c..e28ac2fb9a 100755 --- a/ci/run-build-and-tests.sh +++ b/ci/run-build-and-tests.sh @@ -3,7 +3,7 @@ # Build and test Git # -. ${0%/*}/lib-travisci.sh +. ${0%/*}/lib.sh ln -s "$cache_dir/.prove" t/.prove diff --git a/ci/run-linux32-docker.sh b/ci/run-linux32-docker.sh index 21637903ce..751acfcf8a 100755 --- a/ci/run-linux32-docker.sh +++ b/ci/run-linux32-docker.sh @@ -3,7 +3,7 @@ # Download and run Docker image to build and test 32-bit Git # -. ${0%/*}/lib-travisci.sh +. ${0%/*}/lib.sh docker pull daald/ubuntu32:xenial diff --git a/ci/run-static-analysis.sh b/ci/run-static-analysis.sh index 5688f261d0..dc189c7456 100755 --- a/ci/run-static-analysis.sh +++ b/ci/run-static-analysis.sh @@ -3,7 +3,7 @@ # Perform various static code analysis checks # -. ${0%/*}/lib-travisci.sh +. ${0%/*}/lib.sh make --jobs=2 coccicheck diff --git a/ci/run-windows-build.sh b/ci/run-windows-build.sh index d99a180e52..a73a4eca0a 100755 --- a/ci/run-windows-build.sh +++ b/ci/run-windows-build.sh @@ -6,7 +6,7 @@ # supported) and a commit hash. # -. ${0%/*}/lib-travisci.sh +. ${0%/*}/lib.sh test $# -ne 2 && echo "Unexpected number of parameters" && exit 1 test -z "$GFW_CI_TOKEN" && echo "GFW_CI_TOKEN not defined" && exit diff --git a/ci/test-documentation.sh b/ci/test-documentation.sh index a20de9ca12..d3cdbac73f 100755 --- a/ci/test-documentation.sh +++ b/ci/test-documentation.sh @@ -3,7 +3,7 @@ # Perform sanity checks on documentation and build it. # -. ${0%/*}/lib-travisci.sh +. ${0%/*}/lib.sh gem install asciidoctor -- gitgitgadget