Merge pull request #2 from kinkofer/ShowValidationErrors

feature: Output xml validation errors
pull/3/head
Chris Jennewein 2019-09-08 12:24:56 -07:00 committed by GitHub
commit 981ad6c2d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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