From 04b5cd0483a624b4182986444fc990771417ce13 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Fri, 5 Jun 2020 21:05:48 +1000 Subject: [PATCH] Attempt to fix CI for non-master branches. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index d137a4209607..f2e8a8411df3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,7 @@ addons: install: - npm install -g moxygen script: + - git fetch --depth=50 origin $TRAVIS_BRANCH:$TRAVIS_BRANCH - git rev-parse --short HEAD - git diff --name-only HEAD $TRAVIS_BRANCH - bash util/travis_test.sh