This repository was archived by the owner on Jul 31, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed
Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 11language : cpp
2- os : linux
3- dist : trusty
4- sudo : false
2+ matrix :
3+ include :
4+ - os : linux
5+ dist : trusty
6+ sudo : false
7+ env : BAZEL_OS=linux
8+ - os : osx
9+ env : BAZEL_OS=darwin
10+
511compiler : clang
612env : BAZEL_OPTIONS="--local_resources=4096,2,1.0 --copt=-Werror=thread-safety"
713
814before_install :
9- - tools/format.sh
10- - wget https://github.com/bazelbuild/bazel/releases/download/0.11.1/bazel-0.11.1-installer-linux-x86_64.sh
11- - chmod +x bazel-0.11.1-installer-linux-x86_64.sh
12- - ./bazel-0.11.1-installer-linux-x86_64.sh --user
15+ # OS X does not have clang-format by default, and has a different sed.
16+ - if \[ "$TRAVIS_OS_NAME" == "linux" \]; then
17+ tools/format.sh ;
18+ fi
19+ - wget https://github.com/bazelbuild/bazel/releases/download/0.11.1/bazel-0.11.1-installer-${BAZEL_OS}-x86_64.sh
20+ - chmod +x bazel-0.11.1-installer-${BAZEL_OS}-x86_64.sh
21+ - ./bazel-0.11.1-installer-${BAZEL_OS}-x86_64.sh --user
1322
1423script :
1524 # We can't use --noshow_progress because Travis terminates the
Original file line number Diff line number Diff line change 11# bazel configurations for running tests under sanitizers.
22# Based on https://github.com/bazelment/trunk/blob/master/tools/bazel.rc
33
4+ # Needed by gRPC to build on some platforms.
5+ build --copt -DGRPC_BAZEL_BUILD
6+
47# --config=asan : Address Sanitizer.
58common:asan --copt -fsanitize=address
69common:asan --copt -DADDRESS_SANITIZER
You can’t perform that action at this time.
0 commit comments