2 parents cc51cad + 071a21a commit fd3e9ceCopy full SHA for fd3e9ce
1 file changed
.travis.yml
@@ -4,7 +4,7 @@ language: c
4
compiler:
5
- gcc
6
git:
7
- depth: 1
+ depth: 6
8
9
# Each item under 'env' is a separate Travis job to execute.
10
# They run in separate environments, so each one must take the time
@@ -56,7 +56,6 @@ notifications:
56
before_script:
57
# Expand the git tree back to 4.0.0-alpha.1 and then fetch the latest tag.
58
- LAST_TAG=`git ls-remote --quiet --tags --sort=version:refname | egrep -o "refs/tags/[0-9]+.*\$" | tail -n 1`
59
- - git fetch --shallow-exclude=4.0.0-alpha.1 || git fetch --unshallow
60
- git fetch --depth 1 origin $LAST_TAG:$LAST_TAG
61
- git describe --dirty --always --tags
62
- function var_search () { case "$1" in *$2*) true;; *) false;; esac; }
0 commit comments