Improve the travis-ci promotion script.