From 5d449e291581fe1fba08c2c238a3354fab2dfd21 Mon Sep 17 00:00:00 2001 From: hugovk Date: Tue, 15 May 2018 23:39:23 +0300 Subject: [PATCH] Run linkcheck on CI (but allow to fail) --- .travis.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7dcfb17af5..8b64521f7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,13 @@ cache: pip install: python3 -m pip install -r requirements.txt -script: - # TODO: add -b linkcheck - - sphinx-build -n -W -q -b html -d _build/doctrees . _build/html +jobs: + include: + - stage: build-docs + script: sphinx-build -n -W -q -b html -d _build/doctrees . _build/html + + - stage: link-check + script: sphinx-build -b linkcheck -d _build/doctrees . _build/linkcheck + + allow_failures: + - stage: link-check