ShannonDing closed pull request #62: [ISSUE #56]Processing ci console output is
too long
URL: https://github.com/apache/rocketmq-client-cpp/pull/62
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/.travis.yml b/.travis.yml
index dbb008e0..72111020 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 32ebe9ab..8624bcef 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
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services