Skip to content

Commit

Permalink
Travis CI: Build documentation in isolated environment
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
Holzhaus committed Aug 12, 2020
1 parent 0d69ce5 commit d52596d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d52596d

Please sign in to comment.