From 735333e8f6207150fd05c76f44c1e1352688b21c Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 30 Jun 2014 22:42:43 +0300 Subject: [PATCH] .travis.yml & requirements.txt: Enable travis for documentation. --- .travis.yml | 10 ++++++++++ requirements.txt | 1 + 2 files changed, 11 insertions(+) create mode 100644 .travis.yml create mode 100644 requirements.txt diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8b42023 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: python +python: + - "2.7" +# command to install dependencies +install: "pip install -q -r requirements.txt --use-mirrors" +# command to run tests +script: 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. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..6966869 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +sphinx