1 |
commit: 32b0d359b5d45bc69d3bd4685c75675c4b7b22ef |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 6 21:51:10 2016 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 6 21:51:10 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=32b0d359 |
7 |
|
8 |
Fix logic in travis.yml |
9 |
|
10 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
11 |
|
12 |
.travis.yml | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/.travis.yml b/.travis.yml |
16 |
index cd953b7..d5b6eb4 100644 |
17 |
--- a/.travis.yml |
18 |
+++ b/.travis.yml |
19 |
@@ -36,7 +36,7 @@ script: |
20 |
# You can append own scripts after this line |
21 |
|
22 |
- wget "https://raw.githubusercontent.com/mgorny/gentoo-xml-schema/master/metadata.xsd" -O metadata.xsd |
23 |
- - xmllint --noout --schema metadata.xsd */*/metadata.xml 2>&1 | grep "fails to validate"; [[ ${PIPESTATUS[0]} -gt 0 ]] && exit 1 |
24 |
+ - xmllint --noout --schema metadata.xsd */*/metadata.xml 2>&1 | grep "fails to validate"; [[ ${PIPESTATUS[0]} == 0 ]] || exit 1 |
25 |
|
26 |
notifications: |
27 |
irc: "chat.freenode.net#gentoo-science" |