summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2018-11-27 23:29:30 -0800
committerGitHub <noreply@github.com>2018-11-27 23:29:30 -0800
commit272be109140d9dda7697337de900e3afd8d90754 (patch)
tree1aa2d5b144dbdaa2a083b28b431b9e6f3709ebb7
parentc47c495acaaf1815140571808606c920b23d25b2 (diff)
Fetch back to 4.0.0-alpha.2 so Travis has the latest tags
-rwxr-xr-x.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 4c7c90b73..fcf5ca433 100755
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,7 @@ language: c
compiler:
- gcc
git:
- depth: 6
+ depth: 1
# Each item under 'env' is a separate Travis job to execute.
# They run in separate environments, so each one must take the time
@@ -44,6 +44,9 @@ notifications:
on_error: always
before_script:
+ # Expand the git tree back to alpha 2 so we get intermediate tags
+ - git fetch --shallow-exclude=4.0.0-alpha.2
+ - git describe --dirty --always --tags
- function var_search () { case "$1" in *$2*) true;; *) false;; esac; }
- sudo dpkg --add-architecture i386