Unfortunately Travis does not support Windows https://github.com/travis-ci/travis-ci/issues/2104. There is a suggestion to use Appveyor.
There are PRs attached both for Avatica and Calcite (i tried to make similar to travis.yml)
The only different Java option for Calcite is
which is required to overcome https://github.com/java-native-access/jna/issues/384 while Appveyor build.
Also unfortunately there is no option to have parallel build even between projects (at least for free accounts) => to speed up the process I use only java8
+ in case of Calcite do not use cache as Appveyor fails to save because of the size - I guess it is also free account limitation
P.S. it should be noted that to have successful build on Appveyor
CALCITE-2409 should be fixed.