]> granicus.if.org Git - openssl/commitdiff
.travis.yml: make git submodule update conditional.
authorAndy Polyakov <appro@openssl.org>
Mon, 13 Mar 2017 11:13:07 +0000 (12:13 +0100)
committerAndy Polyakov <appro@openssl.org>
Tue, 14 Mar 2017 20:06:03 +0000 (21:06 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
.travis.yml

index 3170b6199b7612fa91237c2e50a68c411d0b1f82..bfec26cd28dbd4fc4623f1e139a3d21bde679d91 100644 (file)
@@ -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: