Travis build using JDK 1.6 and 1.7, but only on master branch.