aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-12-31 01:53:23 +0100
committercbdev <cb@cbcdn.com>2019-12-31 01:53:23 +0100
commit599430276d4cc7ca3cec27513a5a318fd5e5de25 (patch)
treef1e654714b3b1432d3cc3483bf8d7dcbccfd9a9e
parent7d18bbb88b79c23c7e920eaecac75df77c38a02a (diff)
downloadmidimonster-599430276d4cc7ca3cec27513a5a318fd5e5de25.tar.gz
midimonster-599430276d4cc7ca3cec27513a5a318fd5e5de25.tar.bz2
midimonster-599430276d4cc7ca3cec27513a5a318fd5e5de25.zip
Pull tags in CI before build
-rw-r--r--.travis.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index ea6ffc5..6c81d1b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -34,7 +34,6 @@ addons:
- *core_build
- mingw-w64
-
matrix:
fast_finish: true
include:
@@ -179,6 +178,8 @@ install:
- if [ "$TASK" = "codespell" ]; then pip install --user git+https://github.com/codespell-project/codespell.git; fi
before_install:
+# Travis clones with --branch, which omits tags. Since we use them for the version string at build time, fetch them
+ - git pull --tags
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
# 'brew install' sometimes returns non-zero for some arcane reason. Executing 'true' resets the exit code and allows Travis to continue building...
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ccache ola lua openssl jack; true; fi
@@ -208,4 +209,4 @@ deploy:
skip_cleanup: true
draft: true
on:
- tags: true \ No newline at end of file
+ tags: true