Skip to content

Commit

Permalink
Check for external resources in CI
Browse files Browse the repository at this point in the history
Fixes xsf#212
  • Loading branch information
SamWhited committed Dec 1, 2016
1 parent 441baf4 commit 097251b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ before_install:
- chmod +x git-ratchet
- git fetch https://github.com/xsf/xeps.git refs/notes/*:refs/notes/*
script:
- xmllint --nonet --noout --noent --loaddtd --xpath "//img/@src[not(starts-with(., 'data:'))]" *.xml 2>/dev/null
- test $(xmllint --nonet --noout --noent --loaddtd --xpath "//img/@src[not(starts-with(., 'data:'))]" *.xml 2>/dev/null | wc -c) == 0
- make all
- echo "lint,$(xmllint --nonet --noout --noent --loaddtd --valid *.xml 2>&1 | wc -l)" | ./git-ratchet check -v

0 comments on commit 097251b

Please sign in to comment.