From 9b331ee9e74901b209891eb80afbe23aab470497 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Sat, 4 Jul 2020 20:05:42 +0100 Subject: [PATCH] CI: deploy: fix depth with --unshallow clone --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index dae1af4..b66e73e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -149,12 +149,11 @@ jobs: '{"build_url": "$TRAVIS_JOB_WEB_URL"}' - SNAPCRAFT_BUILD_ENVIRONMENT: lxd - SNAPCRAFT_BUILD_INFO: 1 # https://snapcraft.io/blog/introducing-developer-notifications-for-snap-security-updates - before_install: + install: - sudo usermod --append --groups lxd $USER - sudo /snap/bin/lxd.migrate -yes - sudo /snap/bin/lxd waitready - sudo /snap/bin/lxd init --auto - install: - pip install setuptools_scm - pip install . script: @@ -180,7 +179,7 @@ jobs: on: branch: devel before_install: -- git fetch --tags +- git fetch --unshallow --tags install: - pip install tox - pip install .