Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 76F30200B60 for ; Sun, 14 Aug 2016 09:04:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 75ADE160AA9; Sun, 14 Aug 2016 07:04:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BC5D2160AB4 for ; Sun, 14 Aug 2016 09:04:22 +0200 (CEST) Received: (qmail 444 invoked by uid 500); 14 Aug 2016 07:04:22 -0000 Mailing-List: contact commits-help@quickstep.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@quickstep.incubator.apache.org Delivered-To: mailing list commits@quickstep.incubator.apache.org Received: (qmail 434 invoked by uid 99); 14 Aug 2016 07:04:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Aug 2016 07:04:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 87CAD18014A for ; Sun, 14 Aug 2016 07:04:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QlHc4NwaVPcE for ; Sun, 14 Aug 2016 07:04:19 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id 21B865FC2B for ; Sun, 14 Aug 2016 07:04:18 +0000 (UTC) Received: (qmail 312 invoked by uid 99); 14 Aug 2016 07:04:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Aug 2016 07:04:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 37087E0551; Sun, 14 Aug 2016 07:04:18 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: zuyuz@apache.org To: commits@quickstep.incubator.apache.org Date: Sun, 14 Aug 2016 07:04:19 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/4] incubator-quickstep git commit: CI w/ gRPC to build the distributed version. archived-at: Sun, 14 Aug 2016 07:04:23 -0000 CI w/ gRPC to build the distributed version. Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/f1af3b62 Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/f1af3b62 Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/f1af3b62 Branch: refs/heads/travis-grpc Commit: f1af3b622666456235c7b49eef33194614989b4b Parents: 1325a6a Author: Zuyu Zhang Authored: Mon May 30 11:57:22 2016 -0700 Committer: Zuyu Zhang Committed: Sun Aug 14 00:04:06 2016 -0700 ---------------------------------------------------------------------- .travis.yml | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/f1af3b62/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index 54a0c8a..3c00cd7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -# NOTE(quickstep-team): In Travis-CI, jobs timeout if they take more than 120 +# NOTE(quickstep-team): In Travis-CI, jobs timeout if they take more than 50 # mins or if there is no log output for more than 10 mins. Hence, we use -O0 to # speed up compilation in release build. Also, jobs can only use upto 20GB of # disk space. Hence, we minimize the amount of debug symbol using -g0 (DEBUG @@ -15,13 +15,13 @@ compiler: - clang env: - - BUILD_TYPE=Debug VECTOR_COPY_ELISION_LEVEL=joinwithbinaryexpressions - - BUILD_TYPE=Release VECTOR_COPY_ELISION_LEVEL=joinwithbinaryexpressions - BUILD_TYPE=Debug VECTOR_COPY_ELISION_LEVEL=selection - BUILD_TYPE=Release VECTOR_COPY_ELISION_LEVEL=selection + - BUILD_TYPE=Debug VECTOR_COPY_ELISION_LEVEL=none + - BUILD_TYPE=Release VECTOR_COPY_ELISION_LEVEL=none install: - - if [ "$CC" = "gcc" ]; then + - if [ "$VECTOR_COPY_ELISION_LEVEL" = "selection" ] && [ "$CC" = "gcc" ]; then export MAKE_JOBS=1; else export MAKE_JOBS=2; @@ -38,11 +38,22 @@ install: - export DEBUG_FLAGS="-g0"; - export RELEASE_FLAGS="-O0 -DNDEBUG"; - export LINKER_FLAGS="-s" + # Protobuf 3 beta. + - wget https://github.com/google/protobuf/releases/download/v3.0.0-beta-3/protobuf-cpp-3.0.0-beta-3.tar.gz + - tar -xzvf protobuf-cpp-3.0.0-beta-3.tar.gz + - pushd protobuf-3.0.0-beta-3 && ./configure --prefix=/usr && make && sudo make install && popd + - rm -rf protobuf* + - export PROTOC=`which protoc` + # gRPC. + - git clone https://github.com/grpc/grpc.git + - pushd grpc && git checkout release-0_14_1 && git submodule update --init && make && sudo make install && popd + - rm -rf grpc before_script: - $CC --version - $CXX --version - $CLINKER --version + - $PROTOC --version - (cd build && cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -D BUILD_SHARED_LIBS=On @@ -55,14 +66,15 @@ before_script: -D CMAKE_CXX_COMPILER=$CXX -D CMAKE_LINKER=$CLINKER -D USE_TCMALLOC=0 - -D VECTOR_COPY_ELISION_LEVEL=$VECTOR_COPY_ELISION_LEVEL ..) + -D VECTOR_COPY_ELISION_LEVEL=$VECTOR_COPY_ELISION_LEVEL + -D ENABLE_DISTRIBUTED=ON ..) script: - ./third_party/cpplint/lint_everything.py - ./validate_cmakelists.py - ./cyclic_dependency.py - (cd build && make -j$MAKE_JOBS) - - (cd build && ctest --output-on-failure -j$TEST_JOBS) + - (cd build && ctest -E native_net_client_message_bus_unittest --output-on-failure -j$TEST_JOBS) after_failure: - df -h @@ -84,8 +96,6 @@ addons: - g++-5 - clang-3.7 - binutils-gold - - libprotobuf-dev - - protobuf-compiler - libgtest-dev - python-networkx - libnuma-dev