build by travis using java config