-
Notifications
You must be signed in to change notification settings - Fork 53
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
Fix usage of Cake.Recipe on Travis #60
Comments
This is the generated code causing the issue public Cake.AppVeyor.AppVeyorProjectHistory AppVeyorProjectHistory(Cake.AppVeyor.AppVeyorSettings settings, System.String accountName, System.String projectSlug, System.Int32 recordsPerPage, System.Nullable<System.Int32> startBuildId = null, System.String branch = null)
{
return Cake.AppVeyor.AppVeyorAliases.AppVeyorProjectHistory(Context, settings, accountName, projectSlug, recordsPerPage, startBuildId, branch);
} |
This is the method being invoked: public static AppVeyorProjectHistory AppVeyorProjectHistory(this ICakeContext context, AppVeyorSettings settings, string accountName, string projectSlug, int recordsPerPage, int? startBuildId = null, string branch = null) |
gep13
added a commit
that referenced
this issue
Apr 12, 2017
- this will prevent the build error that we are seeing on Travis - There will likely be other build failures though
AdmiringWorm
referenced
this issue
in AdmiringWorm/Cake.Recipe
Jul 7, 2020
First basic implementation of a build provider for Travis CI fixes #60
gep13
added a commit
that referenced
this issue
Jul 7, 2020
(GH-60) Implemented build provider for Travis CI
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running Cake.Recipe on Travis, the following error occurs:
https://travis-ci.org/cake-contrib/Cake.Plist/jobs/209156414#L1435
I have been able to reproduce this error by compiling and running Cake on an Ubuntu VM, using JetBrains Rider. The issue comes down to the Cake.AppVeyor addin.
Now, some of you might be thinking, why are you using the Cake.AppVeyor addin when you are running on Travis, and this is due to the fact that you can't conditionally reference an addin, so it has to be included.
While debugging, it is the following method in the Cake.AppVeyor addin that is causing the problem:
Which reports the following error message:
System.Nullable [System.Int32] is not a supported constant type
The suspicion is that something in the Mono Compiler for Cake is either confused, or does not support what this method is trying to do.
The text was updated successfully, but these errors were encountered: