Skip to content
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

Merged
merged 3 commits into from
Jul 16, 2015
Merged

Improve travis build speed #5455

merged 3 commits into from
Jul 16, 2015

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Jun 27, 2015

No description provided.

cache:
directories:
- $HOME/.pip-cache/
- _build
Copy link
Member Author

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.

@wouterj
Copy link
Member Author

wouterj commented Jul 3, 2015

Thanks @stof, it works now!

- $HOME/.pip-cache/
- _build

install: pip install --download-cache $HOME/.pip-cache sphinx==1.1.3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--download-cache is reported as being deprecated

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could just rely on the default location of the pip cache on Travis: $HOME/.cache/pip: http://docs.travis-ci.com/user/caching/#pip-cache

@xabbuh
Copy link
Member

xabbuh commented Jul 3, 2015

👍

@weaverryan
Copy link
Member

🚤

@weaverryan weaverryan merged commit 4650da9 into symfony:2.3 Jul 16, 2015
weaverryan added a commit that referenced this pull request Jul 16, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Improve travis build speed

Commits
-------

4650da9 Fix caching
0efccb5 Fix build
64b9081 Improve travis build speed
@wouterj wouterj deleted the speed_travis branch July 16, 2015 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants