summaryrefslogtreecommitdiffstats
path: root/src/jaegertracing/opentracing-cpp/ci
diff options
context:
space:
mode:
Diffstat (limited to 'src/jaegertracing/opentracing-cpp/ci')
-rwxr-xr-xsrc/jaegertracing/opentracing-cpp/ci/setup_linux_environment.sh15
-rwxr-xr-xsrc/jaegertracing/opentracing-cpp/ci/setup_osx_environment.sh4
2 files changed, 19 insertions, 0 deletions
diff --git a/src/jaegertracing/opentracing-cpp/ci/setup_linux_environment.sh b/src/jaegertracing/opentracing-cpp/ci/setup_linux_environment.sh
new file mode 100755
index 000000000..8801b97ad
--- /dev/null
+++ b/src/jaegertracing/opentracing-cpp/ci/setup_linux_environment.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+set -e
+
+echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
+curl --silent https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
+sudo apt-get update -o Dir::Etc::sourcelist="sources.list.d/bazel.list" \
+ -o Dir::Etc::sourceparts="-" \
+ -o APT::Get::List-Cleanup="0"
+sudo apt-get install openjdk-8-jdk bazel
+sudo apt-get install software-properties-common
+
+sudo add-apt-repository ppa:george-edison55/cmake-3.x -y
+sudo apt-get update
+sudo apt-get install cmake
diff --git a/src/jaegertracing/opentracing-cpp/ci/setup_osx_environment.sh b/src/jaegertracing/opentracing-cpp/ci/setup_osx_environment.sh
new file mode 100755
index 000000000..ec8f59794
--- /dev/null
+++ b/src/jaegertracing/opentracing-cpp/ci/setup_osx_environment.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+brew update
+brew install bazel