- Fix updatedeps reverting to master, which causes Travis CI to produce invalid results for pull-request builds. The makefile attempts to detect this change and checkout the correct branch if it happens.
- Clean up the code style and failure messaging.
- Add / update proxy targets for common workflows: default, deps, ci, release
Since the fork mitchellh/gophercloud-fork-40444fb is used for
gophercloud the folder rackspace/gophercloud does not exist and the
version fix does not have to happen.
Signed-off-by: BlackEagle <[email protected]>
By default, go get determines parallelism based on the number of
cores available. Those show up as 32 in the Travis CI environment
but a virtual machine is limited both by the amount of cores it
has allocated and the amount of memory available to it. 32 parallel
build processes are likely to exhaust the memory resources, leading
to killed processes.
This change reduces the number of builds running concurrently to 2,
which should reduce the likelihood of memory exhaustion greatly.
The number could probably be dialed up a little bit, but this should
give a good default reflecting the environment's resources.
The colored output is broken when using Zsh.
\033[32;01m==> Installing dependencies\033[0m
\033[32;01m==> Building\033[0m
After adding the parameter -e to echo I get the expected green lines.