Procházet zdrojové kódy

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 před 11 roky
rodič
revize
6638bf3b9b
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      appveyor.yml

+ 2 - 2
appveyor.yml

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