[environment] set up travis and cmake building environment.