-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it possible for travis-ci to build forked repos #295
Comments
This can probably easily be solved by replacing |
No, that will not work, as there are other packages inside and subsequently a failure: |
Ah yes, I forgot about that part. I'm not sure if this is what you suggested, but maybe there is a way to tell travis to put the source code in |
Yupp. Tried something like that in 👉 emilva@26a59b0 however, now it fails further down in some test I think https://travis-ci.org/emilva/hydra/jobs/166904073#L883 |
Found a related fix for it here, but have not yet made it work in this repo. |
Looks like it's working almost! The culprit is now coveralls, which is trying to push the changes to coveralls.io but since the fork isn't registered there, this fails: https://travis-ci.org/emilva/hydra/jobs/166904073#L631 One idea might be to move this to By the way, the way cfssl is doing it (https://github.com/cloudflare/cfssl/blob/master/.travis.yml#L20-L27) looks really cool, because it's just 2 lines of code without rsync dependency :) |
Yupp, I will revisit it and take a look at it later! |
Signed-off-by: Emil Vaagland <emilva@gmail.com>
Moved it and now the build is green! However, I still see this strange error message at the end tho: is it intended? |
https://github.com/cloudflare/cfssl/blob/master/.travis.yml#L20-L27 Signed-off-by: Emil Vaagland <emilva@gmail.com>
Signed-off-by: Emil Vaagland <emilva@gmail.com>
Still having some issues with just a simple create dir and move commands. Failed build: Successful: |
Yes, Hydra builds only on Go 1.7 from now on |
at least in the 0.6.0 branch |
It may be simpler to set the |
👍 |
Signed-off-by: Emil Vaagland <emilva@gmail.com>
Signed-off-by: Emil Vaagland <emilva@gmail.com>
Signed-off-by: Emil Vaagland <emilva@gmail.com>
* oauth2: scopes should be separated by %20 and not +, to ensure javascript compatibility - closes #277 * oauth2/introspect: make endpoint rfc7662 compatible - closes #289 * warden: make it clear that ladon.Request.Subject is not required or break bc and remove it - closes #270 * travis: execute gox build only when new commit is a new tag - closes #285 * docs: improve introduction (#267) * core: (health) monitoring endpoint - closes #216 * oauth2/introspect: make endpoint rfc7662 compatible - closes #289 * connections: remove connections API - closes #265 * oauth2: token revocation endpoint - closes #233 * vendor: update to fosite 0.5.0 * core: add sql support #292 * connections: remove connections API - closes #265 * all: coverage report is missing covered lines of nested packages - closes #296 * cmd: prettify the `hydra token user` output - closes #281 * travis: make it possible for travis-ci to build forked repos - closes #295
I am having a issue where my forked repo is not building:
go install github.com/ory-am/hydra can't load package: package github.com/ory-am/hydra: cannot find package "github.com/ory-am/hydra" in any of: /home/travis/.gimme/versions/go1.5.linux.amd64/src/github.com/ory-am/hydra (from $GOROOT) /home/travis/gopath/src/github.com/ory-am/hydra (from $GOPATH)
https://travis-ci.org/emilva/hydra/jobs/166870439#L454
The reason for this error is that any forked repo slug
/github-username/hydra
will never match/ory-am/hydra
.Suggested fix is to re-run line 247-250 https://travis-ci.org/emilva/hydra/jobs/166870439#L247
with
ory-am/hydra
instead of the forked repo slugThe text was updated successfully, but these errors were encountered: