Переглянути джерело

Appveyor: Adjust clone depth settings

The submodule update was doing a full clone. Also increase clone depth a
bit, since it can apparently cause issues checking out the source if
there are too many concurrent PRs trying to build (causing the commit
for the build to not be the top one on the repository anymore).
Yuri Kunde Schlesner 11 роки тому
батько
коміт
6638bf3b9b
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      appveyor.yml

+ 2 - 2
appveyor.yml

@@ -2,7 +2,7 @@
 os: unstable
 
 # shallow clone
-clone_depth: 1
+clone_depth: 5
 
 environment:
   QTDIR: C:\Qt\5.4\msvc2013_64_opengl
@@ -18,7 +18,7 @@ configuration:
   - Release
 
 install:
-  - git submodule update --init --recursive
+  - git submodule update --init --recursive --depth 20
 
 before_build:
   - mkdir build