diff options
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index e9ae3d7d0..ba8bc86ac 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -18,11 +18,7 @@ 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 | - if [ $TRAVIS_OS_NAME == "linux" ]; then | 21 | - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules; else sed -i '' 's/git@github.com:/https:\/\/github.com\//' .gitmodules; fi |
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 | ||
26 | - git submodule update --init --recursive | 22 | - git submodule update --init --recursive |
27 | install: | 23 | install: |
28 | - echo do nothing | 24 | - echo do nothing |