This is how the Travis docs say it should be done.