joist-java icon indicating copy to clipboard operation
joist-java copied to clipboard

Setup Travis CI and moved your Todo to NOTES.markdown

Open mathonsunday opened this issue 12 years ago • 5 comments

I added the .travis.yml file with the basic info you need to start using Travis CI. I ran my fork on Travis CI and it worked.

I also moved the Todo section from README.markdown to a new file NOTES.markdown.

mathonsunday avatar Nov 28 '13 00:11 mathonsunday

This is super exciting! Going to take a look...

stephenh avatar Nov 28 '13 03:11 stephenh

A .DS_Store file got added; can you remove that?

You might consider adding .DS_Store to your global gitignore file:

http://stackoverflow.com/questions/7335420/global-git-ignore

stephenh avatar Nov 28 '13 03:11 stephenh

Huh; you said it worked on Travis CI? This awesome little "Failed" message (how magical) asserts it did not:

https://travis-ci.org/mathonsunday/joist/builds/14632515

It looks like it's trying to run "ant test", which is probably their default Java build tool. Joist uses buildr (http://buildr.apache.org), which I'm not sure how to get working on Travis.

stephenh avatar Nov 28 '13 03:11 stephenh

My hint would be that we probably need to use the "before_install" hook to run something like "sudo gem install buildr":

http://about.travis-ci.org/docs/user/build-configuration/#before_install

And then use the "script" hook to tell it to run "./all.sh install" instead of "ant tests" to actually run the tests:

http://about.travis-ci.org/docs/user/build-configuration/#script

stephenh avatar Nov 28 '13 03:11 stephenh

I asked on the Buildr list, and got a pointer to this file as an example using Buildr on Travis:

https://github.com/realityforge/guiceyloops/blob/master/.travis.yml

So, probably his install section, but I think the script will still need to be "./all.sh install" since Joist has (like Tessell) a bunch of sub-projects in it, each with their own buildr files.

stephenh avatar Nov 28 '13 05:11 stephenh