Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
9f29041a
Commit
9f29041a
authored
Jan 02, 2018
by
donghuixu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change shell function format
parent
8c8cf882
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
build_in_travis_ci.sh
build_in_travis_ci.sh
+2
-3
No files found.
build_in_travis_ci.sh
View file @
9f29041a
...
@@ -11,8 +11,7 @@ if [ -z "$CC" ]; then
...
@@ -11,8 +11,7 @@ if [ -z "$CC" ]; then
exit
1
exit
1
fi
fi
function
runcmd
()
runcmd
(){
{
eval
$@
eval
$@
[[
$?
!=
0
]]
&&
{
[[
$?
!=
0
]]
&&
{
exit
1
exit
1
...
@@ -30,7 +29,7 @@ if [ "$PURPOSE" = "compile-with-bazel" ]; then
...
@@ -30,7 +29,7 @@ if [ "$PURPOSE" = "compile-with-bazel" ]; then
runcmd
"bazel test -c opt --copt -DHAVE_ZLIB=1 --define=with_glog=true --define=unittest=true //..."
runcmd
"bazel test -c opt --copt -DHAVE_ZLIB=1 --define=with_glog=true --define=unittest=true //..."
exit
0
exit
0
fi
fi
# The default env in travis-ci is Ubuntu.
# The default env in travis-ci is Ubuntu.
if
!
sh config_brpc.sh
--headers
=
/usr/include
--libs
=
/usr/lib
--nodebugsymbols
--cxx
=
$CXX
--cc
=
$CC
;
then
if
!
sh config_brpc.sh
--headers
=
/usr/include
--libs
=
/usr/lib
--nodebugsymbols
--cxx
=
$CXX
--cc
=
$CC
;
then
echo
"Fail to configure brpc"
echo
"Fail to configure brpc"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment