Commit 22df22e7 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

.travis.yml: make git submodule update conditional.

parent 4772610c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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: