Improve TravisCI build code