Commit 89ec79d4 authored by Daniel Agar's avatar Daniel Agar Committed by GitHub

travis-ci only unshallow git for installer builds (#3633)

parent 32ea7c0d
......@@ -2,9 +2,6 @@
language: cpp
git:
depth: 1000
env:
global:
- SHADOW_BUILD_DIR=/tmp/shadow_build_dir
......@@ -79,9 +76,12 @@ cache:
before_install:
- if [[ "${TRAVIS_PULL_REQUEST}" = "false" && "${CONFIG}" = "debug" ]]; then exit 0; fi
- cd ${TRAVIS_BUILD_DIR} && git fetch --unshallow
- git fetch --all --tags
- if [ "${CONFIG}" = "installer" ]; then
cd ${TRAVIS_BUILD_DIR} &&
git fetch --unshallow &&
git fetch --all --tags
;
fi
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
mkdir -p ~/.config/QtProject/ &&
cp ${TRAVIS_BUILD_DIR}/test/qtlogging.ini ~/.config/QtProject/
......@@ -271,4 +271,3 @@ notifications:
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment