From a0721292c26a507981ded26e38120846539031a9 Mon Sep 17 00:00:00 2001 From: Kostis Anagnostopoulos Date: Sun, 13 Oct 2019 04:45:34 +0300 Subject: [PATCH] FEAT(TCs): check SITE and fail on errors, but... FAILs due to missing image in composition.rst. --- .travis.yml | 4 +++- test/test_doc.py | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f5176cc6..3ea468ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,9 @@ script: if [[ "$TRAVIS_PYTHON_VERSION" = '3.7' ]]; then pytest --cov=graphkit -m 'slow or not slow' else - pytest --cov=graphkit test/ + # Undo configs in setup.cfg + echo -e '[pytest]\nmarkers: slow' > pytest.ini + pytest fi deploy: diff --git a/test/test_doc.py b/test/test_doc.py index 0669d350..eb0b9fb1 100644 --- a/test/test_doc.py +++ b/test/test_doc.py @@ -26,7 +26,6 @@ def test_README_as_PyPi_landing_page(monkeypatch): ) -# @pytest.mark.slow def test_site(): # Fail on warnings, but don't rebuild all files (no `-a`), - subprocess.check_call("python setup.py build_sphinx -W".split(), cwd=proj_path) + subprocess.check_output("python setup.py build_sphinx -W".split(), cwd=proj_path)