Skip to content

Commit 272be10

Browse files
authored
Fetch back to 4.0.0-alpha.2 so Travis has the latest tags
1 parent c47c495 commit 272be10

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ language: c
44
compiler:
55
- gcc
66
git:
7-
depth: 6
7+
depth: 1
88

99
# Each item under 'env' is a separate Travis job to execute.
1010
# They run in separate environments, so each one must take the time
@@ -44,6 +44,9 @@ notifications:
4444
on_error: always
4545

4646
before_script:
47+
# Expand the git tree back to alpha 2 so we get intermediate tags
48+
- git fetch --shallow-exclude=4.0.0-alpha.2
49+
- git describe --dirty --always --tags
4750
- function var_search () { case "$1" in *$2*) true;; *) false;; esac; }
4851
- sudo dpkg --add-architecture i386
4952

0 commit comments

Comments
 (0)