-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve travis build speed #5455
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
language: python | ||
|
||
python: | ||
- "2.7" | ||
python: "2.7" | ||
|
||
sudo: false | ||
|
||
install: | ||
- "pip install -q -r requirements.txt --use-mirrors" | ||
cache: | ||
directories: | ||
- $HOME/.pip-cache/ | ||
- _build | ||
|
||
install: pip install --download-cache $HOME/.pip-cache --user sphinx==1.1.3 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there was no need for a special requirements file. And as pip now has a cache configured, it'll skip the download on all builds. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Though this command seems to fail on Travis. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
script: sphinx-build -nW -b html -d _build/doctrees . _build/html | ||
|
||
branches: | ||
except: | ||
- github-comments | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this caches the build documentation of previous builds with the same target branch. Sphinx detects changes from the last build and then executes a partial build. This will make the build process a lot quicker.