Skip to content

Commit f429a54

Browse files
committed
build: Added hack to handle submodules in travis
1 parent f514173 commit f429a54

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ rvm:
99
cache:
1010
directories:
1111
- ./Unity
12+
git:
13+
submodules: false
1214
before_install:
15+
# Use sed to replace the SSH URL with the public URL, then initialize submodules
16+
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
17+
- git submodule update --init --recursive
1318
- chmod a+x ./Travis/installUnity.sh
1419
- npm install -g [email protected]
1520
install:

0 commit comments

Comments
 (0)