travis: Run fixTexts.sh

develop
lethosor 2015-03-04 16:45:28 -05:00
parent 0b912f54be
commit 00fd41c24d
2 changed files with 9 additions and 3 deletions

@ -4,9 +4,11 @@ env:
-LUA_VERSION=5.2
before_install:
- sudo apt-get install lua$LUA_VERSION
- pip install docutils
script:
- python travis/pr-check-base.py
- python travis/lint.py
- python travis/luac.py
- ./fixTexts.sh
notifications:
email: false

@ -19,12 +19,16 @@ to build these documents."
fi
cd `dirname $0`
status=0
function process() {
if [ "$1" -nt "$2" ]; then
echo -n "Updating $2... "
"$rst2html" --no-generator --no-datestamp "$1" "$2"
if "$rst2html" --no-generator --no-datestamp "$1" "$2"; then
echo "Done"
else
status=1
fi
else
echo "$2 - up to date."
fi
@ -35,4 +39,4 @@ process Compile.rst Compile.html
process Lua\ API.rst Lua\ API.html
process Contributors.rst Contributors.html
process Contributing.rst Contributing.html
exit $status