aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorLibravatar Amine Mouafik <amine@mouafik.fr>2019-10-26 13:50:12 +0700
committerLibravatar Amine Mouafik <amine@mouafik.fr>2019-10-26 13:50:12 +0700
commitb2909f30d709fb24d2eb2bdfbc9d4f1948814514 (patch)
treeac6ef1ff33554db1ae5bea78ed5681c0991ed069 /.travis.yml
parentFix sed command on linux builds (diff)
downloadferdium-app-b2909f30d709fb24d2eb2bdfbc9d4f1948814514.tar.gz
ferdium-app-b2909f30d709fb24d2eb2bdfbc9d4f1948814514.tar.zst
ferdium-app-b2909f30d709fb24d2eb2bdfbc9d4f1948814514.zip
Attempt at fixing Travis conditional sed
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
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
20before_install: 20before_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
27install: 23install:
28 - echo do nothing 24 - echo do nothing