Closed ferventcoder closed 9 years ago
For this one, do you already have a Travis account that you want the build to run under? If so, can you make others in the team have access? I have never looked at Travis, but more than happy to look at this.
I do have a travis account. This would use mono to build. There are some examples of doing this out there.
Just turned it on https://travis-ci.org/chocolatey/choco/
Nice one! I will take a look. Will have some reading to do for this one :smile_cat:
Have you given me any sort of permissions to the Travis site? I don't see anything immediately that says to create a new build configuration?
Here's a pretty comprehensive answer http://stackoverflow.com/a/16751773/18475 - note we already have ./build.sh
so we don't need to call xbuild directly.
You create a .travis.yml
file. It's that simple. Travis-CI is considered the first zero configuration build server.
ooo, interesting, didn't realise that. Cool, I will let you know if I have any questions.
A couple of nice walkthroughs in case we run into speedbumps:
Official docs http://docs.travis-ci.com/user/languages/csharp/
The last is preferred, it's the most recent and likely the easiest to test.
@ferventcoder I have added a VERY basic travis.yml file into chocolatey/choco and issued it as a pull request, thinking that this would kick off a build in travis. However, nothing seems to be happening. Am I right in thinking that the file will need to exist on the master branch, before travis knows what to do with it, or rather, than it "should" be doing something?
I left a comment over there for you. The name of the file must start with a dot.
Official docs http://docs.travis-ci.com/user/languages/csharp/
Some references that are likely outdated (but might prove helpful):