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

Update docs on git submodules #4

Merged
merged 4 commits into from
Jan 21, 2014
Merged

Conversation

svenfuchs
Copy link
Contributor

The docs currently do not reflect that:

  • git submodules are init/updated automatically if there's a .gitmodules file
  • the automatic integration can be turned off by setting submodules: false

The docs currently do not reflect that:

* git submodules are init/updated automatically if there's a `.gitmodules` file
* the automatic integration can be turned off by setting `submodules: false`

If your project requires some specific option for your Git submodules which Travis CI does not support out of the box, then you can turn the automatic integration off and use the `before_install` hook to initializes and update them.

E.g.:

This comment was marked as spam.


If your project uses Git submodules, use the following technique to clone them before dependencies installation:
Travis CI automatically initializes and updates submodules when a `.gitmodules` file is being found in the root of the repository.

This comment was marked as spam.

This comment was marked as spam.

BanzaiMan added a commit that referenced this pull request Jan 21, 2014
@BanzaiMan BanzaiMan merged commit 17fc9e6 into gh-pages Jan 21, 2014
@BanzaiMan BanzaiMan deleted the sf-update-git-submodule-docs branch January 21, 2014 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants