.travis.yml: make git submodule update conditional.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Andy Polyakov 2017-03-13 12:13:07 +01:00
parent 4772610ccf
commit 22df22e7c3
1 changed files with 5 additions and 0 deletions

View 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: