]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Travis CI: Reduce git clone depth
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 31 Aug 2018 14:03:51 +0000 (16:03 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 31 Aug 2018 14:03:51 +0000 (16:03 +0200)
.travis.yml

index a2265ce1e1631d767ec6843dd046f36acfd0eb9a..29e8242434a75dc81878685d1e7801bd5856344f 100644 (file)
@@ -82,7 +82,7 @@ install:
   - if [ "$TRAVIS_OS_NAME" = osx ]; then brew install libsmi | grep -v '%'; fi
 
 before_script:
   - if [ "$TRAVIS_OS_NAME" = osx ]; then brew install libsmi | grep -v '%'; fi
 
 before_script:
-  - if [ "$BUILD_LIBPCAP" = true ]; then (cd .. && echo '$ git clone [...] libpcap.git' && git clone --depth=50 --branch=master --quiet git://github.com/the-tcpdump-group/libpcap.git && cd libpcap && ./configure "--${REMOTE}-remote" --prefix=/tmp && make && make install); fi
+  - if [ "$BUILD_LIBPCAP" = true ]; then (cd .. && echo '$ git clone [...] libpcap.git' && git clone --depth 3 --branch=master --quiet git://github.com/the-tcpdump-group/libpcap.git && cd libpcap && ./configure "--${REMOTE}-remote" --prefix=/tmp && make && make install); fi
 
 script:
   - if [ "$COVERITY_SCAN_BRANCH" = 1 ]; then exit 0; fi
 
 script:
   - if [ "$COVERITY_SCAN_BRANCH" = 1 ]; then exit 0; fi