aboutsummaryrefslogtreecommitdiff
path: root/tests.sh
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2016-07-29 14:11:21 -0700
committerFeng Xiao <xfxyjwf@gmail.com>2016-07-29 14:11:21 -0700
commitbaa4023cd577d7ebb673fbb5102b3f33a827dae5 (patch)
tree96140435eb2ba4822444739228491e4c56baf3d2 /tests.sh
parent7e93458bb7417e0c0c7af11a4eae9950b55a320a (diff)
downloadprotobuf-baa4023cd577d7ebb673fbb5102b3f33a827dae5.tar.gz
protobuf-baa4023cd577d7ebb673fbb5102b3f33a827dae5.tar.bz2
protobuf-baa4023cd577d7ebb673fbb5102b3f33a827dae5.zip
Run Java compatibility tests on Travis.
The test is testing the binary/source compatibility between 3.0.0-beta-4 and the current version (right now it's 3.0.0). Change-Id: Ic410b535758b38cee7baa99a15a0433734df44e6
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index 7d2eb3be..9e95f2b7 100755
--- a/tests.sh
+++ b/tests.sh
@@ -195,6 +195,14 @@ build_java_oracle7() {
use_java oracle7
build_java oracle7
}
+build_java_compatibility() {
+ use_java jdk7
+ internal_build_cpp
+ # Use the unit-tests extraced from 2.5.0 to test the compatibilty between
+ # 3.0.0-beta-4 and the current version.
+ cd java/compatibility_tests/v2.5.0
+ ./test.sh 3.0.0-beta-4
+}
build_javanano_jdk7() {
use_java jdk7
@@ -340,6 +348,7 @@ Usage: $0 { cpp |
csharp |
java_jdk7 |
java_oracle7 |
+ java_compatibility |
javanano_jdk7 |
javanano_oracle7 |
objectivec_ios |