aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorLibravatar Amine Mouafik <amine@mouafik.fr>2019-10-26 13:41:34 +0700
committerLibravatar Amine Mouafik <amine@mouafik.fr>2019-10-26 13:41:34 +0700
commit8b2830b2d5d42523fe73382044de79ae5c6438c8 (patch)
tree1e09a381b0fd65c4aeb0fbb0ebd1377ace04c202 /.travis.yml
parentUse Algolia hack for submodules checkout in Travis (diff)
downloadferdium-app-8b2830b2d5d42523fe73382044de79ae5c6438c8.tar.gz
ferdium-app-8b2830b2d5d42523fe73382044de79ae5c6438c8.tar.zst
ferdium-app-8b2830b2d5d42523fe73382044de79ae5c6438c8.zip
Fix sed command on macOS builds
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
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
20before_install: 20before_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
23install: 27install:
24 - echo do nothing 28 - echo do nothing