]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Travis: avoid useless lines from 'brew' command in the logs
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 9 Jan 2015 17:08:44 +0000 (18:08 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 9 Jan 2015 17:08:44 +0000 (18:08 +0100)
.travis.yml

index 3282c9bc5471663932e26af4d7608081a2d2d8d4..454637a69413e6e9700b7f9d56c7ded8b7a384fc 100644 (file)
@@ -50,11 +50,11 @@ before_install:
   - uname -a
   - date
   - if [ "$TRAVIS_OS_NAME" = linux ]; then sudo apt-get -qq update; fi
   - uname -a
   - date
   - if [ "$TRAVIS_OS_NAME" = linux ]; then sudo apt-get -qq update; fi
-  - if [ "$TRAVIS_OS_NAME" = osx ]; then brew update; fi
+  - if [ "$TRAVIS_OS_NAME" = osx ]; then brew update >/dev/null; fi
 
 install:
   - if [ "$TRAVIS_OS_NAME" = linux ]; then sudo apt-get -qq install libssl-dev libssl0.9.8 libssl1.0.0 libdnet-dev libsmi2-dev; fi
 
 install:
   - if [ "$TRAVIS_OS_NAME" = linux ]; then sudo apt-get -qq install libssl-dev libssl0.9.8 libssl1.0.0 libdnet-dev libsmi2-dev; fi
-  - if [ "$TRAVIS_OS_NAME" = osx ]; then brew install libsmi; fi
+  - 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 && make); else sudo apt-get -qq install libpcap-dev; 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 && make); else sudo apt-get -qq install libpcap-dev; fi