Skip to content

Commit

Permalink
[mod] another way to test the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Psycojoker committed Jan 31, 2016
1 parent de4592c commit dec6788
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ python:
- "3.4"
script:
- py.test tests
- cd docs
- result=$(make html)
- echo $result
- if [ "$(echo $result | grep 'Exception in')"]; then exit 1; fi
- bash ./test_doc.sh
notifications:
irc: "chat.freenode.net#baron"
14 changes: 14 additions & 0 deletions test_doc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

set +x

cd docs

result=$(make html 2>&1)

echo $result

if [ "$(echo $result | grep 'Exception in')"]
then
exit 1
fi

0 comments on commit dec6788

Please sign in to comment.