From ade37fb4931b635056318aacc2138a5b157038cb Mon Sep 17 00:00:00 2001 From: Lindsey Heagy Date: Sun, 31 Jan 2016 09:51:57 -0800 Subject: [PATCH] add travis to docs. nit-picky testing on html, latex, link check --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 258c4b7b..4ac1849f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,6 +45,11 @@ install: # Run test script: - nosetests $TEST_DIR --with-cov --cov SimPEG --cov-config .coveragerc -v -s + # test docs + - cd docs + - sphinx-build -nW -b html -d _build/doctrees . _build/html + - sphinx-build docs -nW -b latex -d _build/doctrees . _build/latex + - sphinx-build docs -nW -b linkcheck -d _build/doctrees . _build/linkcheck # Calculate coverage after_success: