commit:     32b0d359b5d45bc69d3bd4685c75675c4b7b22ef
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  6 21:51:10 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Mar  6 21:51:10 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=32b0d359

Fix logic in travis.yml

Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index cd953b7..d5b6eb4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,7 +36,7 @@ script:
 # 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
+    - xmllint --noout --schema metadata.xsd */*/metadata.xml 2>&1 | grep 
"fails to validate"; [[ ${PIPESTATUS[0]} == 0 ]] || exit 1
 
 notifications:
     irc: "chat.freenode.net#gentoo-science"

Reply via email to