summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2017-03-13 12:13:07 +0100
committerAndy Polyakov <appro@openssl.org>2017-03-14 21:06:03 +0100
commit22df22e7c3de7e577bbf4db04e21def38b303c8e (patch)
tree3f4660b8f5e2cc19e70ca19d2ba2f514e3317f0d
parent4772610ccf306eb53980c2771cba550a5ce36d1c (diff)
.travis.yml: make git submodule update conditional.
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
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: