You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by di...@apache.org on 2019/01/10 09:03:16 UTC
[rocketmq-client-cpp] branch master updated: [ISSUE #56]Processing
ci console output is too long (#62)
This is an automated email from the ASF dual-hosted git repository.
dinglei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-client-cpp.git
The following commit(s) were added to refs/heads/master by this push:
new 5696fab [ISSUE #56]Processing ci console output is too long (#62)
5696fab is described below
commit 5696fabac84c6a450b7f39c34d1fa9281e681f52
Author: githublaohu <23...@qq.com>
AuthorDate: Thu Jan 10 17:03:12 2019 +0800
[ISSUE #56]Processing ci console output is too long (#62)
[ISSUE #56 ]
---
.travis.yml | 3 ++-
build.sh | 8 +++++---
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index dbb008e..7211102 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,7 +23,8 @@ before_script:
- cd ..
script:
- - ./build.sh test
+ - ./build.sh test 1>buildMakeLog.txt
+
matrix:
diff --git a/build.sh b/build.sh
index 32ebe9a..8624bce 100755
--- a/build.sh
+++ b/build.sh
@@ -1,4 +1,5 @@
-#!/bin/bash
+#!/usr/bin/env bash
+
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
@@ -253,7 +254,8 @@ BuildBoost()
exit 1
fi
echo "build boost static #####################"
- ./b2 cflags=-fPIC cxxflags=-fPIC --with-atomic --with-thread --with-system --with-chrono --with-date_time --with-log --with-regex --with-serialization --with-filesystem --with-locale --with-iostreams threading=multi link=static runtime-link=static release install --prefix=${install_lib_dir}
+ pwd
+ ./b2 cflags=-fPIC cxxflags=-fPIC --with-atomic --with-thread --with-system --with-chrono --with-date_time --with-log --with-regex --with-serialization --with-filesystem --with-locale --with-iostreams threading=multi link=static release install --prefix=${install_lib_dir}
if [ $? -ne 0 ];then
exit 1
fi
@@ -296,7 +298,7 @@ BuildGoogleTest()
wget https://github.com/abseil/googletest/archive/release-1.8.1.tar.gz
fi
if [ ! -d "googletest-release-1.8.1" ];then
- tar -zxvf release-1.8.1.tar.gz
+ tar -zxvf release-1.8.1.tar.gz > googletest.txt 2>&1
fi
cd googletest-release-1.8.1
mkdir build; cd build