diff options
author | 2015-06-15 15:55:34 +0000 | |
---|---|---|
committer | 2015-06-16 13:58:46 +0000 | |
commit | 075b39d85a5e5aaf82a83dc07d2ea7ca7385a47f (patch) | |
tree | 7a47e7b72fe1596d6c7bffe84e9e426345b29ffb /third_party/BUILD | |
parent | 65f422376467aa2369e2e1a7bb0ba8fc2e69393b (diff) |
Set-up travis OSX to compile using JDK 7
This is introducing a few changes to use the Java compiler
from errorprone:
- add the --java_langtools flag to the shell tests so
we do the tests with the same java compiler tooling than
Bazel, and
- added the langtools the bootclasspath of the JavaBuilder
tests.
- tagged some tests and deactivated them on travis OSX
because they either requires Java 8 or a lot of disk
space.
To do the same change on a local install, one must:
- change the source and target versions to 7 in the
tools/jdk:toolchain target,
- use the .travis/jdk7.WORKSPACE file instead of the
default Bazel workspace (it contains a maven_jar
refering to the errorprone's java compiler tools), and
- set the JAVA_VERSION environent variable to "1.7".
The .travis/build.sh script does just that when under OS X.
--
Change-Id: Idb466cf47cf7df35a34fb0dd8d186628aae0cba7
Reviewed-on: https://bazel-review.googlesource.com/#/c/1520/
MOS_MIGRATED_REVID=96011123
Diffstat (limited to 'third_party/BUILD')
0 files changed, 0 insertions, 0 deletions