Merge pull request #8 from Mkaysi/travis

[HELP WANTED!] Test documentation with travis.
This commit is contained in:
Valentin Lorentz 2014-07-04 19:05:40 +02:00
commit 73d2d543b2
5 changed files with 14 additions and 3 deletions

11
.travis.yml Normal file
View File

@ -0,0 +1,11 @@
language: python
# command to install dependencies
install:
- "sudo pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/testing/requirements.txt"
- "sudo pip install -r requirements.txt"
# command to run tests
script: sphinx-build -n -b html -d _build/doctrees . _build/html
after_script: curl -X POST http://readthedocs.org/build/limnoria-doc
# Flags used here, not in `make html`:
# -n Run in nit-picky mode. Currently, this generates warnings for all missing references.
# -W Turn warnings into errors. This means that the build stops at the first warning and sphinx-build exits with exit status 1.

View File

@ -118,7 +118,7 @@ translation guide and send me your .po files by mail.
You can choose either one of this way to do it. You can choose either one of this way to do it.
Mikaela's way Mikaela's way
------------ -------------
Send the fi.po (or whatever the name is) files one by one as an attachment. Send the fi.po (or whatever the name is) files one by one as an attachment.
Don't forget to tell me what plugin it is. Don't forget to tell me what plugin it is.

View File

@ -37,4 +37,3 @@ Library reference
irclib.rst irclib.rst
commands.rst commands.rst
ircmsgs.rst ircmsgs.rst
ircdb.rst

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
sphinx
git+https://github.com/ProgVal/Limnoria.git@testing

View File

@ -12,5 +12,4 @@ The Supybot user guide
configuration.rst configuration.rst
capabilities.rst capabilities.rst
faq.rst faq.rst
plugins/index.rst
httpserver.rst httpserver.rst