Skip to content

Commit d6a0924

Browse files
committed
[FIX] Fix submodule clone error in travisCI
1 parent 03a9aa1 commit d6a0924

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
@@ -3,6 +3,14 @@ language: python
33
sudo: required
44
dist: trusty
55

6+
# Handle git submodules yourself
7+
git:
8+
submodules: false
9+
# Use sed to replace the SSH URL with the public URL, then initialize submodules
10+
before_install:
11+
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
12+
- git submodule update --init --recursive
13+
614
before_install:
715
- sudo apt-get update
816
- sudo apt-get install -y build-essential python3-dev xvfb python3-pyqt5.qtmultimedia

0 commit comments

Comments
 (0)