]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Travis: set git clone for libpcap to be faster and quieter
authorFrancois-Xavier Le Bail <[email protected]>
Thu, 8 Jan 2015 14:20:46 +0000 (15:20 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 8 Jan 2015 14:20:46 +0000 (15:20 +0100)
.travis.yml

index 84b6c5bf6e1b1b896426f9b7c37f7fcda10d1aa2..3282c9bc5471663932e26af4d7608081a2d2d8d4 100644 (file)
@@ -57,7 +57,7 @@ install:
   - if [ "$TRAVIS_OS_NAME" = osx ]; then brew install libsmi; fi
 
 before_script:
   - if [ "$TRAVIS_OS_NAME" = osx ]; then brew install libsmi; fi
 
 before_script:
-  - if [ "$BUILD_LIBPCAP" = true ]; then (cd .. && git clone git://github.com/the-tcpdump-group/libpcap.git && cd libpcap && ./configure && make); else sudo apt-get -qq install libpcap-dev; fi
+  - 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 && make); else sudo apt-get -qq install libpcap-dev; fi
 
 script:
   - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then touch .devel configure; fi
 
 script:
   - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then touch .devel configure; fi