diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2017-02-23 17:53:06 -0800 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2017-02-27 17:38:54 -0800 |
commit | 9118ad659b21e98c5f44fe1b13f89ec1d23756b1 (patch) | |
tree | d13d83d3e2532aa6a7695c097de43a046e046b1f /ruby/compatibility_tests/v3.0.0/test.sh | |
parent | 963473b1dd4f37c5c0b8ca72f1c4a05225b927b7 (diff) |
Add Ruby compatibilty test against 3.0.0.
Diffstat (limited to 'ruby/compatibility_tests/v3.0.0/test.sh')
-rwxr-xr-x | ruby/compatibility_tests/v3.0.0/test.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ruby/compatibility_tests/v3.0.0/test.sh b/ruby/compatibility_tests/v3.0.0/test.sh new file mode 100755 index 00000000..996dc020 --- /dev/null +++ b/ruby/compatibility_tests/v3.0.0/test.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +set -ex + +# Change to the script's directory +cd $(dirname $0) + +# Download 3.0.0 version of protoc +PROTOC_BINARY_NAME="protoc-3.0.0-linux-x86_64.exe" +if [ `uname` = "Darwin" ]; then + PROTOC_BINARY_NAME="protoc-3.0.0-osx-x86_64.exe" +fi +wget http://repo1.maven.org/maven2/com/google/protobuf/protoc/3.0.0/${PROTOC_BINARY_NAME} -O protoc +chmod +x protoc + +# Run tests +rake test |