aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorHailong Wen <youxiabsyw@gmail.com>2017-12-12 21:31:01 -0800
committerGitHub <noreply@github.com>2017-12-12 21:31:01 -0800
commit3ba71b610dc172db098299d4a5210cb81e4e0095 (patch)
treece21166ba09b62a2b58c5a2258af530faa5d7640 /scripts
parentd6af87a040dd4f19e50e6298867d5f90f0122c90 (diff)
downloadplatform_external_opencensus-java-3ba71b610dc172db098299d4a5210cb81e4e0095.tar.gz
platform_external_opencensus-java-3ba71b610dc172db098299d4a5210cb81e4e0095.tar.bz2
platform_external_opencensus-java-3ba71b610dc172db098299d4a5210cb81e4e0095.zip
Add bazel build support for `examples`. (#893)
* Add bazel build support for `examples`. * Generate workspace depedencies by [migration-tooling](https://github.com/bazelbuild/migration-tooling). * Change README and add travis job to check bazel build. * Move sudo command to .travis.yml * Change library name to opencensus_examples.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis_script3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/travis_script b/scripts/travis_script
index 3cd6a9b9..b8f4ba75 100755
--- a/scripts/travis_script
+++ b/scripts/travis_script
@@ -54,6 +54,9 @@ case "$TASK" in
"BUILD_EXAMPLES_MAVEN")
pushd examples && mvn clean package appassembler:assemble -e && popd
;;
+ "BUILD_EXAMPLES_BAZEL")
+ pushd examples && bazel clean && bazel build :all && popd
+ ;;
*)
echo "Unknown task $TASK"
exit 1