Skip to content

Commit

Permalink
FEAT(TCs): check SITE and fail on errors, but...
Browse files Browse the repository at this point in the history
FAILs due to missing image in composition.rst.
  • Loading branch information
ankostis committed Oct 13, 2019
1 parent a349c69 commit a072129
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions test/test_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit a072129

Please sign in to comment.