diff options
author | rghetia <rghetia@yahoo.com> | 2018-05-03 23:45:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-03 23:45:35 +0000 |
commit | 1513015cf93843bba6215faa02228b9e462abb30 (patch) | |
tree | c607ba477776e887044a23372d95128df190bcde /buildscripts | |
parent | e812bcff383d907085235a8689e8d323e50e8438 (diff) | |
parent | ddb443abff9a245dcfd6da1a36c36ca69d466309 (diff) | |
download | opencensus-java-1513015cf93843bba6215faa02228b9e462abb30.tar.gz |
Merge pull request #1182 from rghetia/kokoro_osx
Add kokoro build scripts for osx platform.
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/kokoro/linux.sh | 8 | ||||
-rw-r--r-- | buildscripts/kokoro/macos.cfg | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/buildscripts/kokoro/linux.sh b/buildscripts/kokoro/linux.sh index 2feeab14..e8aa21be 100755 --- a/buildscripts/kokoro/linux.sh +++ b/buildscripts/kokoro/linux.sh @@ -15,7 +15,9 @@ cd $(dirname $0)/../.. # Run tests ./gradlew clean build -pushd examples -./gradlew clean assemble check --stacktrace -popd +OS=`uname` +# Check the example only on Linux. +if [ "$OS" = "Linux" ] ; then + pushd examples; ./gradlew clean assemble check --stacktrace; popd +fi diff --git a/buildscripts/kokoro/macos.cfg b/buildscripts/kokoro/macos.cfg new file mode 100644 index 00000000..fe3a9803 --- /dev/null +++ b/buildscripts/kokoro/macos.cfg @@ -0,0 +1,6 @@ +# Config file for internal CI + +# Same script is used for macos as it is for Linux. +# Location of the continuous shell script in repository. +build_file: "opencensus-java/buildscripts/kokoro/linux.sh" +timeout_mins: 60 |