feature: Output xml validation errors

pull/2/head
Chris Jennewein 2019-09-08 12:11:16 -07:00
parent 24eb7a6ccf
commit f7e1556620
1 changed files with 2 additions and 2 deletions

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