summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-08 18:31:34 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-08 18:31:34 +0300
commit592e3f6c5fde52404382fe52cfcfa265962d7297 (patch)
treeb1442ec05184401f1c3c3d6b3337a389878eeabb
parent61364f882a1c839841fd1c626074e6cf887db561 (diff)
downloadevol-tools-592e3f6c5fde52404382fe52cfcfa265962d7297.tar.gz
evol-tools-592e3f6c5fde52404382fe52cfcfa265962d7297.tar.bz2
evol-tools-592e3f6c5fde52404382fe52cfcfa265962d7297.tar.xz
evol-tools-592e3f6c5fde52404382fe52cfcfa265962d7297.zip
gitlab-ci: add basic check for xml attributes.
-rwxr-xr-xgitlab-ci/clientdata.sh11
1 files changed, 10 insertions, 1 deletions
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