I've split up my Go project in several packages (github.com/haarts/getme). When testing I usually do just
go test ./... and getting all the dependencies with
go get ./.... All that works great locally. (You can try by cloning the project, it's OS.)
Now I haven't been able to get CircleCI working for this project. I'm unsure how to configure it but I've used in the dependencies section (not circle.yml yet):
go get -d -u ./.... But this seems to stumble over my own packages:
package _/home/ubuntu/getme/cmd/crosscheck: unrecognized import path "_/home/ubuntu/getme/cmd/crosscheck"
package _/home/ubuntu/getme/cmd/getme: unrecognized import path "_/home/ubuntu/getme/cmd/getme"
Importing all the dependencies explicitly with a list of
go get github.com/extern/package yields:
go install: no install location for directory /home/ubuntu/getme/cmd/crosscheck outside GOPATH
I'm a bit at a loss. This seems the most trivial project to set up? No databases, no external services.