Move commands from travis.sh into .travis.yml.