From patchwork Mon Oct 24 22:41:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Warren X-Patchwork-Id: 686225 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3t2rrX5ZCYz9t2p for ; Tue, 25 Oct 2016 09:42:20 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A763EA7560; Tue, 25 Oct 2016 00:42:16 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W5GptwhGU42k; Tue, 25 Oct 2016 00:42:16 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D9E01A75B8; Tue, 25 Oct 2016 00:42:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AEB16A7559 for ; Tue, 25 Oct 2016 00:42:04 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sRG3HdpBC_yp for ; Tue, 25 Oct 2016 00:42:04 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from avon.wwwdotorg.org (avon.wwwdotorg.org [70.85.31.133]) by theia.denx.de (Postfix) with ESMTPS id 17DF9A754A for ; Tue, 25 Oct 2016 00:41:59 +0200 (CEST) Received: from swarren-lx1.nvidia.com (thunderhill.nvidia.com [216.228.112.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by avon.wwwdotorg.org (Postfix) with ESMTPSA id DB00A1C03B6; Mon, 24 Oct 2016 16:41:57 -0600 (MDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.99.2 at avon.wwwdotorg.org From: Stephen Warren To: Tom Rini Date: Mon, 24 Oct 2016 16:41:48 -0600 Message-Id: <20161024224149.8520-1-swarren@wwwdotorg.org> X-Mailer: git-send-email 2.10.1 X-NVConfidentiality: public Cc: u-boot@lists.denx.de, Stephen Warren Subject: [U-Boot] [PATCH 1/2] travis-ci: set env vars to name jobs X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Stephen Warren Travis CI names sub-jobs after the first environment variable that is set for a script. This doesn't produce meaningful results for any of the non- buildman jobs. Add a dummy variable to give the jobs meaningful names. Signed-off-by: Stephen Warren Reviewed-by: Tom Rini --- .travis.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index d65c5705875f..a172180a9953 100644 --- a/.travis.yml +++ b/.travis.yml @@ -160,30 +160,42 @@ matrix: # QA jobs for code analytics # static code analysis with cppcheck (we can add --enable=all later) - - script: + - env: + - JOB="cppcheck" + script: - cppcheck --force --quiet --inline-suppr . # search for TODO within source tree - - script: + - env: + - JOB="grep TODO" + script: - grep -r TODO . # search for FIXME within source tree - - script: + - env: + - JOB="grep FIXME HACK" + script: - grep -r FIXME . # search for HACK within source tree and ignore HACKKIT board script: - grep -r HACK . | grep -v HACKKIT # some statistics about the code base - - script: + - env: + - JOB="sloccount" + script: - sloccount . # test/py - - script: + - env: + - JOB="test.py sandbox" + script: - ./test/py/test.py --bd sandbox --build - env: + - JOB="test.py ARM" - CROSS_COMPILE="/usr/bin/arm-linux-gnueabihf-" script: - ./test/py/test.py --bd vexpress_ca15_tc2 --id qemu --build; ./test/py/test.py --bd vexpress_ca9x4 --id qemu --build; ./test/py/test.py --bd integratorcp_cm926ejs --id qemu --build; - env: + - JOB="test.py MIPS" - TOOLCHAIN="mips" CROSS_COMPILE="${HOME}/.buildman-toolchains/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-" script: @@ -192,10 +204,12 @@ matrix: ./test/py/test.py --bd qemu_mips64 --build -k 'not sleep'; ./test/py/test.py --bd qemu_mips64el --build -k 'not sleep'; - env: + - JOB="test.py PowerPC" - CROSS_COMPILE="/usr/bin/powerpc-linux-gnu-" script: - ./test/py/test.py --bd qemu-ppce500 --build -k 'not sleep' - env: + - JOB="test.py x86-64" - TOOLCHAIN="x86_64" BUILD_ROM=yes CROSS_COMPILE="${HOME}/.buildman-toolchains/gcc-4.9.0-nolibc/x86_64-linux/bin/x86_64-linux-"