Skip to content

Instantly share code, notes, and snippets.

@SimplyAhmazing
Last active July 26, 2017 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SimplyAhmazing/d79139e59facad1a718650f60df42937 to your computer and use it in GitHub Desktop.
Save SimplyAhmazing/d79139e59facad1a718650f60df42937 to your computer and use it in GitHub Desktop.
Git submodules on CI Notes

Add to Travis

before_install:
    - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
    - git submodule update --init --recursive

or apply sed call to repo:

# On OSX only:
sed -i '' -e 's/git@github.com:/git:\/\/github.com\//' .gitmodules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment