Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
c4790429
Commit
c4790429
authored
Jul 29, 2016
by
Jisi Liu
Committed by
GitHub
Jul 29, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1892 from xfxyjwf/compatibility_tests
Run Java compatibility tests on Travis.
parents
f3449e5f
baa4023c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
.travis.yml
.travis.yml
+4
-0
tests.sh
tests.sh
+9
-0
No files found.
.travis.yml
View file @
c4790429
...
...
@@ -57,6 +57,10 @@ matrix:
# tests on jenkins running in parallel.
-
os
:
linux
env
:
CONFIG=cpp_distcheck
# The Java compatibility test currently only runs on Linux because it will
# fetch pre-built Linux protoc binaries in the test.
-
os
:
linux
env
:
CONFIG=java_compatibility
allow_failures
:
# These currently do not work on OS X but are being worked on by @haberman.
-
os
:
osx
...
...
tests.sh
View file @
c4790429
...
...
@@ -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 |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment