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
0d0ab63c
Commit
0d0ab63c
authored
Jun 01, 2018
by
zhenren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix travis
parent
5cc6f207
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
.travis.yml
.travis.yml
+1
-0
build_in_travis_ci.sh
build_in_travis_ci.sh
+0
-5
No files found.
.travis.yml
View file @
0d0ab63c
...
@@ -25,4 +25,5 @@ install:
...
@@ -25,4 +25,5 @@ install:
-
sudo apt-get install -y gdb
# install gdb
-
sudo apt-get install -y gdb
# install gdb
script
:
script
:
-
if [[ "$PURPOSE" == "compile-with-bazel" ]]; then bazel build -j 12 -c opt --copt -DHAVE_ZLIB=1 //... ; fi
-
sh build_in_travis_ci.sh
-
sh build_in_travis_ci.sh
build_in_travis_ci.sh
View file @
0d0ab63c
...
@@ -21,11 +21,6 @@ runcmd(){
...
@@ -21,11 +21,6 @@ runcmd(){
echo
"build combination: PURPOSE=
$PURPOSE
CXX=
$CXX
CC=
$CC
"
echo
"build combination: PURPOSE=
$PURPOSE
CXX=
$CXX
CC=
$CC
"
if
[
"
$PURPOSE
"
=
"compile-with-bazel"
]
;
then
runcmd
"bazel build -j 12 -c opt --copt -DHAVE_ZLIB=1 //..."
exit
0
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