From nobody Thu Apr 25 15:18:32 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=patchew-devel-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1520558785239573.9991466759489; Thu, 8 Mar 2018 17:26:25 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 544B685A02; Fri, 9 Mar 2018 01:26:24 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 45C375D6A8; Fri, 9 Mar 2018 01:26:24 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 34EC34CA98; Fri, 9 Mar 2018 01:26:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w291QNdE024307 for ; Thu, 8 Mar 2018 20:26:23 -0500 Received: by smtp.corp.redhat.com (Postfix) id 71B20202322C; Fri, 9 Mar 2018 01:26:23 +0000 (UTC) Received: from lemon.usersys.redhat.com (ovpn-12-60.pek2.redhat.com [10.72.12.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4C43C202322A; Fri, 9 Mar 2018 01:26:21 +0000 (UTC) From: Fam Zheng To: patchew-devel@redhat.com Date: Fri, 9 Mar 2018 09:26:17 +0800 Message-Id: <20180309012617.19313-1-famz@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: patchew-devel@redhat.com Subject: [Patchew-devel] [PATCH] travis: Test migration cleanness X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: patchew-devel-bounces@redhat.com Errors-To: patchew-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 09 Mar 2018 01:26:24 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" So we don't forget to commit migration. Signed-off-by: Fam Zheng --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 954dee1..2e1cf8d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,6 @@ python: # command to install dependencies install: "pip install -r requirements.txt" # command to run tests -script: export PYTHONPATH=3D$PWD && ./manage.py migrate && ./manage.py tes= t tests +script: + - export PYTHONPATH=3D$PWD && ./manage.py migrate && ./manage.py test te= sts + - export PYTHONPATH=3D$PWD && ./manage.py makemigrations && ! git ls-fil= es . --exclude-standard --others | grep . --=20 2.14.3 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://www.redhat.com/mailman/listinfo/patchew-devel