Skip to content

Commit

Permalink
Merge pull request #38 from zhuanhao-wu/fix-travis
Browse files Browse the repository at this point in the history
Update .travis.yml for handling git submodules
  • Loading branch information
rseac authored Jan 28, 2020
2 parents 8a91639 + 3e139a3 commit 4783785
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ addons:
- libelf-dev
- ninja-build

git:
submodules: false

# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive

cache:
directories:
- TEMP
Expand Down

0 comments on commit 4783785

Please sign in to comment.