Fix travis configuration

* Fix Java version check
* Add 1.1 and 1.2 conf files
* Fix gemcutter warning