Skip to content

Commit

Permalink
chore: fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenren committed Jun 4, 2018
1 parent 5cc6f20 commit 0d0ab63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -25,4 +25,5 @@ install:
- sudo apt-get install -y gdb # install gdb

script:
- if [[ "$PURPOSE" == "compile-with-bazel" ]]; then bazel build -j 12 -c opt --copt -DHAVE_ZLIB=1 //... ; fi
- sh build_in_travis_ci.sh
5 changes: 0 additions & 5 deletions build_in_travis_ci.sh
Expand Up @@ -21,11 +21,6 @@ runcmd(){

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.
if ! sh config_brpc.sh --headers=/usr/include --libs=/usr/lib --nodebugsymbols --cxx=$CXX --cc=$CC; then
echo "Fail to configure brpc"
Expand Down

0 comments on commit 0d0ab63

Please sign in to comment.