diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-08 18:31:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-08 18:31:34 +0300 |
commit | 592e3f6c5fde52404382fe52cfcfa265962d7297 (patch) | |
tree | b1442ec05184401f1c3c3d6b3337a389878eeabb | |
parent | 61364f882a1c839841fd1c626074e6cf887db561 (diff) | |
download | evol-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-x | gitlab-ci/clientdata.sh | 11 |
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 |