From e8b03545bbb2c8172146031b57381ccf1b4b8d77 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Thu, 11 Jan 2018 18:03:56 -0500 Subject: [PATCH] test: Don't fail on tag builds This seems to be causing our failures with: $ git fetch --unshallow fatal: Couldn't find remote ref refs/heads/0.0.x where x is some tag. Hopefully this doesn't break the other use case we added this patch for! --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3e0f68dc..ebfa1729 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ sudo: true dist: trusty before_install: - sudo apt update - - git config remote.origin.fetch +refs/heads/${TRAVIS_BRANCH}:refs/remotes/origin/${TRAVIS_BRANCH} + - git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" - git fetch --unshallow install: 'make deps' script: 'make test'