add homebrew formula, fix .travis.yml