loklak / loklak_go_api

Go library client for using the Loklak API
1.06k stars 6 forks source link

Fix issues with Continuous Integration on Forks #6

Closed yukiisbored closed 7 years ago

yukiisbored commented 7 years ago

Because for a new fork that'll be a Pull Request to the upstream project. It's a good idea to have this intact so Travis will always install it on 'github.com/loklak/loklak_api_go'.

sudheesh001 commented 7 years ago

Isn't this the way it generally works, only if a PR is sent to the upstream repository, that's when it'd trigger travis to work. can you please clarify what this patch is intended for ?

yukiisbored commented 7 years ago

Travis clones the source to $GOPATH/src/github.com/<username>/<repo_name>. This is needed for Go Unit Tests on PRs, because it has to import from the correct directory.

Travis' Docs about this