simplify travis setup
@@ -6,9 +6,8 @@ env:
- GO111MODULE=on
before_install:
- # for some reason changing /usr/local requires sudo in travis, the following gives write access
- # to all files and folders under /usr/local recursively, required for installing protobuf:
- - sudo find /usr/local -exec chmod a+w {} \;
+ # for some reason /usr/local is owned by a different user in travis, so we transfer ownership to the current user:
+ - sudo chown -R $(whoami) /usr/local
- make prepare
branches:
