diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-02-17 22:07:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-17 22:07:44 -0500 |
| commit | fd3e9ce2f8970dec8b34543f79fe565e7d6fc82f (patch) | |
| tree | 3e345e8edbb6dfb3505c1eb6cb5d9f5c3ea084bd | |
| parent | cc51cad813873f67672c45b40d47e4083faa9215 (diff) | |
| parent | 071a21af163991d481093896c7a7d495988ff881 (diff) | |
Merge pull request #1560 from dhalbert/shallow-travis-errors
Fix travis shallow build issue
| -rwxr-xr-x | .travis.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index f588bc85c..a30635cfb 100755 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ language: c compiler: - gcc git: - depth: 1 + depth: 6 # Each item under 'env' is a separate Travis job to execute. # They run in separate environments, so each one must take the time @@ -56,7 +56,6 @@ notifications: before_script: # Expand the git tree back to 4.0.0-alpha.1 and then fetch the latest tag. - LAST_TAG=`git ls-remote --quiet --tags --sort=version:refname | egrep -o "refs/tags/[0-9]+.*\$" | tail -n 1` - - git fetch --shallow-exclude=4.0.0-alpha.1 || git fetch --unshallow - git fetch --depth 1 origin $LAST_TAG:$LAST_TAG - git describe --dirty --always --tags - function var_search () { case "$1" in *$2*) true;; *) false;; esac; } |
