From patchwork Thu Oct 24 03:17:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Axtens X-Patchwork-Id: 1182611 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46zC8z1Wt7z9sNw for ; Thu, 24 Oct 2019 14:17:23 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=axtens.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.b="JcZ4vjmU"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 46zC8z072CzDqRH for ; Thu, 24 Oct 2019 14:17:23 +1100 (AEDT) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=axtens.net (client-ip=2607:f8b0:4864:20::62c; helo=mail-pl1-x62c.google.com; envelope-from=dja@axtens.net; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=axtens.net Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.b="JcZ4vjmU"; dkim-atps=neutral Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 46zC8r3kWKzDqQH for ; Thu, 24 Oct 2019 14:17:13 +1100 (AEDT) Received: by mail-pl1-x62c.google.com with SMTP id u20so11132532plq.4 for ; Wed, 23 Oct 2019 20:17:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9sCM+8YDnwKvRjsaU9Lb7MJCr8iwLDxhmoNYUY0cVsk=; b=JcZ4vjmU67DGXa1IhAQS6nIbnd4uKrQ+7M9L4E507SwzjQMq0DgPG3YI1l29cZo2ec KOmsM1xAMMn3uOPRqWCLBYLDOcjbClv09p/ob9yxeykAXZ+x9wpIiMFfbermyeuEAJSB VnYJW5n9ygBegJHoFd5rhXXMJhaF3sIPkIJ8M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9sCM+8YDnwKvRjsaU9Lb7MJCr8iwLDxhmoNYUY0cVsk=; b=AVZaxcSVfTrqX0b9rGPzaGFA3R7eqjM0vlnd/56ZUp2GwgiKye4nvK9Uc8lvMEKXNC el/hYVG2xfg5zFhbWBl8EHfgDg2lG0m1Sigjx/A/2g7AN1mWH2wKPcr6R848qQUSjYQG zK050jIroRV4BzaY2Dt8kenucNzghzK3sgg6gqnCrOxqhb30ka5q9zQsvMpxtXyo2/e4 e19yohiBscCjaBfWCwRDGdQzIVwCEay3ogrMaEZk/+5ReUBHgbARtDcF+2Trt3ycR0TQ BG190bUqgM1+ZnQL+6lJC6IXOf/uwGouGgTyuTD28bnEEMHeh7jZeaMD4B3bCaiyhCsC W32w== X-Gm-Message-State: APjAAAXhzeq5BHBhwpFRwLLB9iSekgwwotvi5CF0XDzPasVTSmm2CUeq pjzeFTNDb6zx9qaOYdzNKiLR7UQU5eA= X-Google-Smtp-Source: APXvYqxeOpqDfA6jchAlq4Ew4QBjT54rresfYrg0yg/cpxo7FUAkOdPAlfafnvowkxdMhPayioQlVA== X-Received: by 2002:a17:902:261:: with SMTP id 88mr13656658plc.322.1571887030144; Wed, 23 Oct 2019 20:17:10 -0700 (PDT) Received: from localhost (ppp167-251-205.static.internode.on.net. [59.167.251.205]) by smtp.gmail.com with ESMTPSA id c16sm639926pja.2.2019.10.23.20.17.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 20:17:09 -0700 (PDT) From: Daniel Axtens To: patchwork@lists.ozlabs.org Subject: [PATCH] travis, tox: only do coverage testing in py27 Date: Thu, 24 Oct 2019 14:17:04 +1100 Message-Id: <20191024031704.6844-1-dja@axtens.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" Currently Travis calls `tox -e coverage` unconditionally. However, the environment has py27 basepython, so all the runs only generate py27 coverage! Rather than try to untangle that, just run the coverage when run in a py27 travis environment. This makes things faster for no loss of coverage. It means that codecov has nothing to submit for the py3x environments, but that's no real loss: it would otherwise submit lots of duplicate data. We could try to improve coverage by running coverage for 27 and 3x, but given that 27 is going away, don't stress at this point. Signed-off-by: Daniel Axtens --- .travis.yml | 1 - tox.ini | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git .travis.yml .travis.yml index 51746b2674ce..90ff36dfe52b 100644 --- .travis.yml +++ .travis.yml @@ -55,7 +55,6 @@ script: psql -c "SELECT VERSION(), CURRENT_USER, current_database()" -U $PW_TEST_DB_USER patchwork; fi - tox - - tox -e coverage after_success: - codecov diff --git tox.ini tox.ini index 617e73cdbee6..882c44a628eb 100644 --- tox.ini +++ tox.ini @@ -86,4 +86,4 @@ commands = [travis] python = - 2.7: py27, pep8 + 2.7: py27, pep8, coverage