diff --git a/.travis.yml b/.travis.yml index 70f0211c0..0894ea7b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,8 +38,8 @@ addons: - g++-4.8 before_install: - - git submodule update --init --recursive - - if [ $TRAVIS_OS_NAME == "osx" ]; then brew install --quiet ccache boost-build boost-python; fi + - git submodule update --init --recursive --depth=1 + - if [ $TRAVIS_OS_NAME == "osx" ]; then brew update > /dev/null && brew install --quiet ccache boost-build boost-python; fi # disable simulations on OSX for now. It hangs on travis - if [ $TRAVIS_OS_NAME == "osx" ]; then export toolset="darwin-${lang}"; export sim="0"; fi