Skip to content

Commit

Permalink
Check documentation in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Motiejus Jakštys committed Apr 17, 2013
1 parent ac5d84f commit bc4b14b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -2,4 +2,4 @@ language: c
script: "./travis-ci"
before_install:
- sudo apt-get install ocaml-nox camlp4-extra libfindlib-ocaml-dev
- sudo apt-get install libprotoc-dev protobuf-compiler
- sudo apt-get install libprotoc-dev protobuf-compiler pandoc
15 changes: 15 additions & 0 deletions travis-ci
Expand Up @@ -7,3 +7,18 @@ make

. ./setenv.sh
make -C tests

# Check if internal documentation linking is correct
make -sC doc html

cd doc
python -m SimpleHTTPServer &
SERVER=$!
sleep 1s
cd ..

RET=0
wget -q --spider -rl3 http://127.0.0.1:8000 || RET=1
kill $SERVER

exit $RET

0 comments on commit bc4b14b

Please sign in to comment.