Skip to content

Commit 02339cf

Browse files
committed
Update .travis.yml
Added a gist to handle the submodule permissions (from http://stackoverflow.com/questions/15674064/github-submodule-access-rights-travis-ci)
1 parent 1971c33 commit 02339cf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ install:
33
- pip install tox
44
script:
55
- tox
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
613

714
notifications:
815
slack:

0 commit comments

Comments
 (0)