From 592e3f6c5fde52404382fe52cfcfa265962d7297 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 8 Apr 2016 18:31:34 +0300 Subject: gitlab-ci: add basic check for xml attributes. --- gitlab-ci/clientdata.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gitlab-ci/clientdata.sh b/gitlab-ci/clientdata.sh index deee2fb..1cabb14 100755 --- a/gitlab-ci/clientdata.sh +++ b/gitlab-ci/clientdata.sh @@ -10,7 +10,16 @@ ln -s clientdata client-data rm -rf music git clone --depth 1 https://gitlab.com/evol/evol-music.git music -cd tools/update +cd tools/testxml + +./xsdcheck.sh +export RES=$(cat errors.txt) +if [[ -n "${RES}" ]]; then + echo "xml check failed" + exit(1) +fi + +cd ../update ./createnew.sh ./create_music.sh -- cgit v1.2.3-70-g09d2