jnraine / munkiserver

Visit https://github.com/munkiserver/munkiserver for active development — this repository is no longer maintained
85 stars 27 forks source link

Adding .travis.yml in prep for adding TravisCI #183

Closed rickychilcott closed 11 years ago

rickychilcott commented 11 years ago

@jnraine can you add the appropriate configuration for TravisCI? http://about.travis-ci.org/docs/user/getting-started/#Step-one%3A-Sign-in

jnraine commented 11 years ago

Done!

jnraine commented 11 years ago

@rickychilcott looks like this needs more config? I haven't used travis before and this project isn't test-heavy. Do you have more insight into making this build pass?

One thing I found after a quick google: http://stackoverflow.com/questions/9321153/rails-database-setup-on-travis-ci

rickychilcott commented 11 years ago

Yeah.. I'll take a look at that StackOverflow and add the appropriate files early this week. I think we should be adding tests for new functionality, where possible.

It's failing for me locally too, some of the Nokogiri code is throwing errors, so maybe you could look at that when you get a chance too.

Ricky Chilcott ricky@rbsavvy.com

On Jun 8, 2013, at 3:15 PM, Jordan Raine notifications@github.com wrote:

@rickychilcott looks like this needs more config? I haven't used travis before and this project isn't test-heavy. Do you have more insight into making this build pass?

One thing I found after a quick google: http://stackoverflow.com/questions/9321153/rails-database-setup-on-travis-ci

— Reply to this email directly or view it on GitHub.

rickychilcott commented 11 years ago

@jnraine Got it to finally run: https://travis-ci.org/jnraine/munkiserver/jobs/7916587

If you can help get those tests to pass, cool, if not, let me know. Also code coverage is ~45%, which isn't really bad. Seems high to me, but… kinda neat!

On Jun 8, 2013, at 3:15 PM, Jordan Raine notifications@github.com wrote:

@rickychilcott looks like this needs more config? I haven't used travis before and this project isn't test-heavy. Do you have more insight into making this build pass?

One thing I found after a quick google: http://stackoverflow.com/questions/9321153/rails-database-setup-on-travis-ci

— Reply to this email directly or view it on GitHub.