From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 71FFB59CA3 for ; Sun, 6 Mar 2016 20:55:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D508921C0E7; Sun, 6 Mar 2016 20:55:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 42B4121C0E7 for ; Sun, 6 Mar 2016 20:55:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1C58B340A3B for ; Sun, 6 Mar 2016 20:55:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00A6B8F5 for ; Sun, 6 Mar 2016 20:54:58 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1457297521.ea5b6de5bab084b9fc10d71a7f0ea3bbd9ae022c.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: / X-VCS-Repository: proj/sci X-VCS-Files: .travis.yml X-VCS-Directories: / X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: ea5b6de5bab084b9fc10d71a7f0ea3bbd9ae022c X-VCS-Branch: master Date: Sun, 6 Mar 2016 20:54:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 30a1c6f5-1b86-4300-b711-9e08e0b6b55d X-Archives-Hash: 6228c658a077cfc895d565cc076b469e commit: ea5b6de5bab084b9fc10d71a7f0ea3bbd9ae022c Author: Justin Lecher gentoo org> AuthorDate: Sun Mar 6 20:52:01 2016 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sun Mar 6 20:52:01 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ea5b6de5 Travis: validate metadata.xml Signed-off-by: Justin Lecher gentoo.org> .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 93e3091..cd953b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,9 @@ python: - pypy env: - PORTAGE_VER="2.2.27" +before_install: + - sudo apt-get -qq update + - sudo apt-get install -y libxml2 before_script: - mkdir travis-overlay - mv !(travis-overlay) travis-overlay/ @@ -32,6 +35,9 @@ script: - ./../spinner.sh "python ../portage-${PORTAGE_VER}/bin/repoman full -d" # You can append own scripts after this line + - wget "https://raw.githubusercontent.com/mgorny/gentoo-xml-schema/master/metadata.xsd" -O metadata.xsd + - xmllint --noout --schema metadata.xsd */*/metadata.xml 2>&1 | grep "fails to validate"; [[ ${PIPESTATUS[0]} -gt 0 ]] && exit 1 + notifications: irc: "chat.freenode.net#gentoo-science"