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!
This commit is contained in:
@@ -8,7 +8,7 @@ sudo: true
|
|||||||
dist: trusty
|
dist: trusty
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt update
|
- 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
|
- git fetch --unshallow
|
||||||
install: 'make deps'
|
install: 'make deps'
|
||||||
script: 'make test'
|
script: 'make test'
|
||||||
|
|||||||
Reference in New Issue
Block a user