Use sudo to execute privileged commands in travis-ci