Repository navigation
Add travis CI - #37
Conversation
|
Looks ok to me, but I have no experience with Travis CI. What all is involved in registering JMU-CS with Travis? It's listed as an approved third-party app in the org settings. |
|
I think somebody with org access needs to go into Travis, make sure Travis understands you're an authorized org user, then toggle CI on for this repo. |
|
Ok I think I have done that: https://travis-ci.org/JMU-CS/less-java I guess this is ready for review; I'd like @Zamua to take a look before we merge it in. Thanks for looking into this! |
|
I looked at that script, but it seems to throw errors all over the place. I think the CI tools like seeing a lot of individual tests so they can assess what percentage are passing. The script gives you giant yes/no result, and I'm not sure as written that it would propagate a failure of one test back to Travis. There are also a number of tests that depend on user input, so the test suite blocks waiting and those would need to be addressed in some manner. But long story short, I wanted to see if I could get anything working just for fun, and anybody else is welcome to modify it now that the integration is in place. |
|
Yes, we definitely have tests that are currently failing with the script. Some of those might be buggy tests at this point but some are failing in the script because we have some tests that have Also, some tests are written to expose the issues with our current type inference engine and won't actually pass until @hinescd finishes his thesis work. So we definitely don't want to use the top-level In any case, the test suite definitely needs reorganization. Thanks for doing the legwork for getting TravisCI into the picture! |
Zamua
left a comment
There was a problem hiding this comment.
Great work. We need to ensure that new tests are added to this file in it's current state, but is there anyway to tell travis to run a comand for all files in a directory as separate tests? That way we don't have to remember to edit this file everytime a test is added?
|
I didn't come across anything like that. There's one command to mark a group of tests so they can run in parallel, which would be fun, but I think would make a mess of A few ideas then:
|
|
Ok, I think that this pull request closes #33; however, #19 remains outstanding and probably will until the Fall. I envision a script-based test for external issues (invalid programs, etc.) as well as extensive set of embedded internal tests using the Thanks @ripleymj! |
Not sure how serious you are about #33, but I was playing around with it to see what happened. This adds a pretty basic .travis-ci.yml and runs a few known-good test cases just to get started.
Build status would look like this: https://travis-ci.org/ripleymj/less-java/builds and someone would need to register JMU-CS with Travis.