travis: Only gox build on tags and go1.7#288
Conversation
Signed-off-by: Emil Vaagland <emil.vaagland@schibsted.com>
Signed-off-by: Emil Vaagland <emil.vaagland@schibsted.com>
Signed-off-by: Emil Vaagland <emil.vaagland@schibsted.com>
|
I think there's still an issue with the travis file: |
|
It looks like travis executes this as a one-liner which probably causes the issues. |
|
Yeah, will look into that On 7 October 2016 at 10:54, Aeneas notifications@github.com wrote:
Best regards Emil Vaagland Software Engineer Schibsted Products & Technology Oslo http://www.schibsted.com Mob +4792668890 |
Signed-off-by: Emil Vaagland <emil.vaagland@schibsted.com>
|
Looks like the issue persists: https://travis-ci.org/ory-am/hydra/jobs/165755242#L883 Are you sure that you can use raw bash in the travis config? Maybe you need to create a little bash script and call it from travis.yml instead. |
|
you can probably use bash as long as it's inside the yaml array. Something like: except ... you need to ensure the leading |
Signed-off-by: Emil Vaagland <emil.vaagland@schibsted.com>
|
Cool, it doesn't throw any errors any more. Not sure if it really works though, yet :D Thanks for the hard work so far. I'll merge it and see what happens! |
|
yeah, should be ok now! Tested the bash syntax in another project, and it worked as expected. |
|
awesome, thanks so much :) |
Signed-off-by: Emil Vaagland <emil.vaagland@schibsted.com>
Issue #285
Not sure if this fix will work or not, as I could not get it building on my forked repo in travis-ci.
Anyways, something like this should do the trick