소스 검색

Travis CI: Build documentation in isolated environment

This prevents loading the `sphinx_multiversion` module from old branches
instead of the latest one (due to Python's behaviour of preferring
modules from the CWD).
Jan Holthuis 4 년 전
부모
커밋
d52596db60
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -91,6 +91,6 @@ before_script:
 script:
 - mkdir html
 - git fetch --all
-- sphinx-multiversion -W docs html
+- python -I -m sphinx_multiversion -W docs html
 - python setup.py build sdist bdist_wheel