From c739c84bcda421f265b02a8c8b36b351c9b83d6d Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 10 Jun 2024 09:15:16 -0700 Subject: [PATCH] [Tests] ensure travis can access public repo submodules --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index a4a774ff0d..0f755be067 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,10 @@ addons: # - gcc-4.8 # - g++-4.8 +# https://gist.github.com/iedemam/9830045 +git: + submodules: false + cache: ccache: true directories: @@ -16,6 +20,11 @@ cache: before_install: - sudo sed -i 's/mozilla\/DST_Root_CA_X3.crt/!mozilla\/DST_Root_CA_X3.crt/g' /etc/ca-certificates.conf - sudo update-ca-certificates -f + + # https://gist.github.com/iedemam/9830045 + - sed -i 's/git@github.com:/git:\/\/github.com\//' .gitmodules + - git submodule update --init --recursive + - $SHELL --version 2> /dev/null || dpkg -s $SHELL 2> /dev/null || which $SHELL - curl --version - wget --version