diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 6637972d1..8e61cc91d 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -18,7 +18,11 @@ git: | |||
18 | submodules: false | 18 | submodules: false |
19 | # Use sed to replace the SSH URL with the public URL, then initialize submodules | 19 | # Use sed to replace the SSH URL with the public URL, then initialize submodules |
20 | before_install: | 20 | before_install: |
21 | - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules | 21 | - if [ $TRAVIS_OS_NAME == "linux" ]; then |
22 | sed -i '' 's/git@github.com:/https:\/\/github.com\//' .gitmodules | ||
23 | else | ||
24 | sed -i '' 's/git@github.com:/https:\/\/github.com\//' .gitmodules # macOS | ||
25 | fi | ||
22 | - git submodule update --init --recursive | 26 | - git submodule update --init --recursive |
23 | install: | 27 | install: |
24 | - echo do nothing | 28 | - echo do nothing |