From patchwork Sun Sep 3 15:14:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Axtens X-Patchwork-Id: 809321 X-Patchwork-Delegate: stephen.finucane@intel.com 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.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xlc516KvNz9t2y for ; Mon, 4 Sep 2017 01:16:21 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.b="X4Dl6MH8"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3xlc5156pFzDrnT for ; Mon, 4 Sep 2017 01:16:21 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.b="X4Dl6MH8"; dkim-atps=neutral X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xlc3m6mn1zDrmw for ; Mon, 4 Sep 2017 01:15:16 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.b="X4Dl6MH8"; dkim-atps=neutral Received: by mail-pg0-x243.google.com with SMTP id 83so3009280pgb.3 for ; Sun, 03 Sep 2017 08:15:16 -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:in-reply-to:references; bh=4uhbc+2cFaQ9pdghZ36uI+BnB5/kxJBba1aAOVfxG6Y=; b=X4Dl6MH8Yf5jCIl5VsoK2AY2jk78TYNzZ6FoEk36gFhLTGLoRU/RHBKRFsrhpS3Lt5 hhOm+fat6Ksy2wkPbAsXL8Bwo6+veidQIkN/IIEHiSESTZroCDbCGyg5cqrpsuqu2zrr dihKlE3ivlrplP+dAHqhIFyeLmc7o5V7HV3vo= 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:in-reply-to :references; bh=4uhbc+2cFaQ9pdghZ36uI+BnB5/kxJBba1aAOVfxG6Y=; b=afrGKGLB2vKNEJSqrD1qHlzsZUO/iZ3XcP0D3rB+gxfpcD2ayKmMwpLikhCVsXKsUA DqjS0R0Mze2hsPonsmAv5ZOJi9iHtCiiSGBF0zHjDvb+ojwg/PtgohyYXQXuOaYv+Rdi GccbVCzsbET0h83hr1AdzPY1608u/Hi+HkaescZ57ppIcMPYM6572fruFuFX+f4bWX/4 upPZAxVIzqNokazR7oazh14YOz/MnuQ10GytaNY/FI9g4WGES8fDqzM0GbcidgJuo3bk p2ylCF2HKAkPVc0sVcJG+OIvGwfFRHBZcIi2Xl/ZcHm6mkXXVswrXlDV8H40vbIj8i63 Jyzg== X-Gm-Message-State: AHPjjUjG/9InZyDFTQXtV/2hXgAOeINpopAbfYZoDSaKdzEKX6jOq20l QVhT5npO7+TisUECg9WHxw== X-Google-Smtp-Source: ADKCNb6lOycMmZ3ONViMJotJpadJdy5mJIFjge5l5gq5lcpU3GvYYHhYrhYIv2eE9c0kOtuqOdiMfQ== X-Received: by 10.99.157.141 with SMTP id i135mr9148330pgd.135.1504451715208; Sun, 03 Sep 2017 08:15:15 -0700 (PDT) Received: from localhost.localdomain (124-171-202-56.dyn.iinet.net.au. [124.171.202.56]) by smtp.gmail.com with ESMTPSA id t10sm7565993pgr.54.2017.09.03.08.15.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Sep 2017 08:15:14 -0700 (PDT) From: Daniel Axtens To: patchwork@lists.ozlabs.org Subject: [PATCH 4/4] Test postgresql support in Travis CI Date: Mon, 4 Sep 2017 01:14:44 +1000 Message-Id: <20170903151444.25660-5-dja@axtens.net> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170903151444.25660-1-dja@axtens.net> References: <20170903151444.25660-1-dja@axtens.net> X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" Use the most recent version of postgres (9.6) because we need a more recent version than the default to show up the broken bundle behaviour. This should prevent us from causing any further regressions. I've also had to flick from using the 'travis' user to the 'root' user for mysql - not entirely sure why it suddenly broke, but oh well. Signed-off-by: Daniel Axtens --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 25d150e3e3db..f19fe4f3fa35 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: python +dist: trusty sudo: false python: @@ -7,17 +8,24 @@ python: - 3.4 - 3.5 +addons: + postgresql: "9.6" + services: - mysql + - postgresql env: + matrix: + - PW_TEST_DB_TYPE=postgres PW_TEST_DB_USER=postgres + - PW_TEST_DB_TYPE=mysql PW_TEST_DB_USER=root global: - - PW_TEST_DB_USER=travis - PW_TEST_DB_PASS="" - PW_SKIP_BROWSER_TESTS=yes before_script: - mysql -e 'create database patchwork character set utf8;' + - psql -c "create database patchwork with ENCODING = 'UTF8';" -U postgres install: - pip install tox-travis