Skip to content

Commit 310437a

Browse files
authored
travis.yml: add manual submodules update
We have to update submodules from https, not ssh in travis. For additional information see: https://stackoverflow.com/questions/15674064/how-to-fix-a-permission-denied-publickey-error-for-a-git-submodule-update-in-t
1 parent bee2b0f commit 310437a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,11 @@ dist: trusty
88

99
notifications:
1010
slack: se-spb:PszbuZP2YFs4mAY90xiTYldd
11+
12+
# Handle git submodules yourself
13+
git:
14+
submodules: false
15+
# Use sed to replace the SSH URL with the public URL, then initialize submodules
16+
before_install:
17+
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
18+
- git submodule update --init --recursive

0 commit comments

Comments
 (0)