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
Add TravisCI buildsystem #742
Comments
I think the folding should be implemented as two separate methods with an IDisposable convenience method (preferable just an extension method to the provider). |
@patriksvensson was only en example, yes it should be two underlying methods that do the raw output. Does(
()=>TravisFold(
"Restore-NuGet-Packages",
()=>//Do stuff
)
) |
@patriksvensson @devlead So is the Fold method just a wrapper around a delegate that logs the output to console? I am unfamiliar with Travis CI. Is it a Travis specific output, or just a regular console? |
You could probably use TeamCity as inspiration here, specifically the teamcity extensions that allow for Build and Compilation block printing. |
@RichiCoder1 That's what I was hoping that it would be similar to the TeamCity support so it's standard across build systems. Thanks. I'll probably start on this over the weekend and put a WIP out there for feedback. |
This is fixed by #786 |
@devlead when was this merged? Looks like this issue wasn't assigned to a milestone :-( |
It would be nice to have basic wrappers for the TravisCI build servers
Build Variables
master
).4
).4.1
).linux
andosx
currently, to be extended in the future.owner_name/repo_name
) of the repository currently being built. (for example,travis-ci/travis-build
).true
orfalse
.0
if the build is successful and1
if the build is broken.These are all interesting for build scripts
Default environment variables
Here i think it's mainly CI / TRAVIS / HOME that's potentially intresting.
Would also be nice to enable log folding, perhaps a "disposable" method
That would output raw to console something like this initally
and on dispose
The text was updated successfully, but these errors were encountered: