From af2662effadf2c1c103d09335da7fd6357f19ee4 Mon Sep 17 00:00:00 2001 From: Christopher Tomkins-Tinch Date: Thu, 19 May 2016 16:36:27 -0400 Subject: [PATCH] change git clone depth 50->3 for travis tests Travis performs a shallow clone for each test, but the default is to include the past 50 commits which is more than we need, especially since we are not performing git operations on historical commits as part of the built/test process. This commit changes the clone depth to 3 commits (Travis cautions a depth of one can cause test queues to stack up). --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4d0937086..aa19d2728 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,6 +34,9 @@ addons: - g++-4.9 - libboost1.55-all-dev +git: + depth: 3 + before_install: - travis/before_install.sh