aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xfxyjwf@gmail.com>2016-07-21 11:37:46 -0700
committerGravatar Feng Xiao <xfxyjwf@gmail.com>2016-07-21 11:37:46 -0700
commitad49ed78f3b0d03093274450637bd060d26fb58f (patch)
tree0a8744a6db7477ed9224949bf8aaf0c2e9f13174 /.travis.yml
parent30d8416c1cf69c7e349811b38a91dbc810fc66bd (diff)
Update travis tests for Java.
1. Set JAVA_HOME so mvn can pick up the correct java version. 2. Remove jdk6 tests. It has been broken for a while and remain undetected as mvn is actually using java 7 to build the code. Given that we have set -source and -target to 6 in the pom.xml and the built .jar should be usable by java 6, having a dedicated java 6 test doesn't seem necessary (assuming very few Java 6 users want to compile protobuf Java from source). Change-Id: I4f14da772632df3e47801f180198242b306c3f0f
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 0 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 7cfe0dfb..f5117134 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,10 +15,8 @@ env:
- CONFIG=cpp
- CONFIG=cpp_distcheck
- CONFIG=golang
- - CONFIG=java_jdk6
- CONFIG=java_jdk7
- CONFIG=java_oracle7
- - CONFIG=javanano_jdk6
- CONFIG=javanano_jdk7
- CONFIG=javanano_oracle7
- CONFIG=javascript
@@ -40,14 +38,10 @@ matrix:
# It's nontrivial to programmatically install a new JDK from the command
# line on OS X, so we rely on testing on Linux for Java code.
- os: osx
- env: CONFIG=java_jdk6
- - os: osx
env: CONFIG=java_jdk7
- os: osx
env: CONFIG=java_oracle7
- os: osx
- env: CONFIG=javanano_jdk6
- - os: osx
env: CONFIG=javanano_jdk7
- os: osx
env: CONFIG=javanano_oracle7