From 91405d5a060cf8641b5b6942da2655403e3d343d Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 18 May 2016 21:31:48 +0200 Subject: Use travis to check documentation. --- .travis.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..07458841 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +# This is used to verify that the documentation compiles. +language: python +python: + - "2.7" +# command to install dependencies +install: "pip install -q Sphinx==1.1.3 --use-mirrors" +# command to run tests +script: cd docs && sphinx-build -nW -b html -d _build/doctrees . _build/html +# 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. -- cgit v1.2.3