Updated travis.yml to install pyyaml before ua-parser.