Travis: improve build, add scripts