Merge pull request #2 from kinkofer/ShowValidationErrors

feature: Output xml validation errors
This commit is contained in:
Chris Jennewein
2019-09-08 12:24:56 -07:00
committed by GitHub

View File

@@ -10,8 +10,8 @@ before_install:
script:
- xmlstarlet val -e FightClub5eXML/Sources/*.xml
- xmlstarlet val -e Collections/*.xml
- xmlstarlet val -s Utilities/collection.xsd Collections/*.xml
- xmlstarlet val -s Utilities/compendium.xsd FightClub5eXML/Sources/*.xml
- xmlstarlet val -e -s Utilities/collection.xsd Collections/*.xml
- xmlstarlet val -e -s Utilities/compendium.xsd FightClub5eXML/Sources/*.xml
- for i in Collections/*.xml; do xsltproc -o FightClub5eXML/$i Utilities/merge.xslt $i; done
after_success:
- if [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ]; then dropbox-deployment; else echo "Skip deploy for PR or Branch Validation"; fi