소스 검색

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