-
-
Save si9ma/2fc72c0707777e6cbb499394ed4c41c9 to your computer and use it in GitHub Desktop.
Revisions
-
si9ma revised this gist
Mar 11, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,5 +13,5 @@ git: # use sed to replace the SSH URL with the public URL, then init and update submodules before_install: - sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules - git submodule update --init --recursive -
iedemam created this gist
Mar 28, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ # # I use SSH URLs in my submodules for convenience. However, Travis CI is unable to # clone from those URLs even though the repositories are public. To fix this, I'm # simply manipulating the .gitmodules file with sed so it points to the public # URLs before initializing the submodules. # # Hope it saves you some frustration! # # disable the default submodule logic git: submodules: false # use sed to replace the SSH URL with the public URL, then init and update submodules before_install: - sed -i 's/[email protected]:/git:\/\/github.com\//' .gitmodules - git submodule update --init --recursive