Jelajahi Sumber

Use --jobs 3 when updating submodules

Peter Dimov 6 tahun lalu
induk
melakukan
dd603f3cd3
1 mengubah file dengan 6 tambahan dan 2 penghapusan
  1. 6 2
      .travis.yml

+ 6 - 2
.travis.yml

@@ -17,6 +17,9 @@ language: cpp
 
 
 compiler: gcc
 compiler: gcc
 
 
+git:
+  submodules: false
+
 addons:
 addons:
   apt:
   apt:
     packages:
     packages:
@@ -80,7 +83,7 @@ matrix:
       after_script: true
       after_script: true
 
 
       install:
       install:
-      - git submodule update --init
+      - git submodule update --init --jobs 3
 
 
       script:
       script:
       - mkdir __build && cd __build
       - mkdir __build && cd __build
@@ -98,7 +101,7 @@ matrix:
       after_script: true
       after_script: true
 
 
       install:
       install:
-      - git submodule update --init
+      - git submodule update --init --jobs 3
 
 
       script:
       script:
       - mkdir __build && cd __build
       - mkdir __build && cd __build
@@ -121,6 +124,7 @@ matrix:
 
 
 before_install:
 before_install:
   # Fetch the scripts to do the actual building/testing.
   # Fetch the scripts to do the actual building/testing.
+  - git submodule update --init --jobs 3
   - |
   - |
     wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py" -P ..
     wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py" -P ..
     wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/${SCRIPT}.py" -P ..
     wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/${SCRIPT}.py" -P ..

粤ICP备19079148号