Improve travis build script