From: Andy Polyakov Date: Mon, 13 Mar 2017 11:13:07 +0000 (+0100) Subject: .travis.yml: make git submodule update conditional. X-Git-Tag: OpenSSL_1_1_1-pre1~2044 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=22df22e7c3de7e577bbf4db04e21def38b303c8e;p=oweals%2Fopenssl.git .travis.yml: make git submodule update conditional. Reviewed-by: Rich Salz Reviewed-by: Richard Levitte --- diff --git a/.travis.yml b/.travis.yml index 3170b6199b..bfec26cd28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,11 +3,16 @@ sudo: required language: c cache: ccache +git: + submodules: false before_install: - if [ -n "$COVERALLS" ]; then pip install --user cpp-coveralls; fi; + - if expr "$CONFIG_OPTS" ":" ".*enable-external-tests" > /dev/null; then + git submodule update --init --recursive; + fi; addons: apt: