Update circle.yml for Ubuntu 14.04

Change the owner of "$HOME/.bashrc.backup" as the Google cloud cli wants
to backup to this file during setup and it's owned by root in the Circle
CI image.

Second, allow writes to `/usr/local/go/pkg` for `go install net` to
work.
This commit is contained in:
Michael Schubert
2017-02-13 16:47:55 +01:00
committed by Alessandro Puccetti
parent 3f497dd82a
commit f850f4486a

View File

@@ -22,6 +22,8 @@ dependencies:
- |
sudo apt-get update &&
sudo apt-get install jq pv &&
sudo chmod a+wr --recursive /usr/local/go/pkg &&
sudo chown ubuntu:ubuntu "$HOME/.bashrc.backup"
(curl https://sdk.cloud.google.com | bash) &&
(test -z "$SECRET_PASSWORD" || bin/setup-circleci-secrets "$SECRET_PASSWORD") &&
make deps &&